July 6, 20232 yr @jenssie On 4/8/2023 at 2:25 AM, jenssie said: function autoloader($class) { global $g; $class = strtolower($class); if ($class =='chtml') { $file = $g['path']['url_main'] . '_include/lib/' . substr($class,1) . '.php'; } else if (strpos($class, 'chtml') === 0) { $file = $g['path']['url_main'] . '_include/lib/' . substr($class,5) . '.php'; } else if (strpos($class, 'db_') === 0) { $file = $g['path']['url_main'] . '_include/lib/' . $class . '.php'; } else if ($class =='cbanner') { $file = $g['path']['url_main'] . '_include/current/' . substr($class,1) . '.class.php'; } else if ($class =='userfields') { $file = $g['path']['url_main'] . '_include/current/user_fields.class.php'; } else { $file = $g['path']['url_main'] . '_include/current/' . $class . '.class.php'; } //print_r($file); if (file_exists($file)) { require $file; return true; } return false; } spl_autoload_register('autoloader'); this in autoloader.php What is this file and what does it do?
September 26, 20232 yr В 06.07.2023 в 06:54, padonis сказал: @jenssie What is this file and what does it do? Hm. Good question 🙂 [hide p=1] Its no autoloader.php. autoloader.php sets variables $GLOBALS['a6ce91443f6']['_7cc538b1'];$lll11lllll = $GLOBALS['a6ce91443f6']['_d5c186983b52c'];$ll1lll1 = $GLOBALS['a6ce91443f6']['_da54dd5a0398011'];$llllllllll = mean $GLOBALS['a6ce91443f6']['_735701335a53e5'] = base64_decode('YmFzZW5hbWU='); "YmFzZW5hbWU" in base64 its "basename" and the rest are similar [/hide] Edited October 16, 20232 yr by orthodox
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.