⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.78
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-pear
/
pear
/
php
/
Horde
/
Text
/
Filter
/
View File Name :
Environment.php
* @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @package Text_Filter */ class Horde_Text_Filter_Environment extends Horde_Text_Filter_Base { /** * Returns a hash with replace patterns. * * @return array Patterns hash. */ public function getPatterns() { $regexp = array( '/^#.*$\n/m' => '', '/^([^#]*)#.*$/m' => '$1' ); $regexp_callback = array( '/%([A-Za-z_]+)%/' => array($this, 'regexCallback') ); return array( 'regexp' => $regexp, 'regexp_callback' => $regexp_callback ); } /** * Preg callback. * * @param array $matches preg_replace_callback() matches. * * @return string The replacement string. */ public function regexCallback($matches) { return getenv($matches[1]); } }