padonis Posted July 6, 2023 Posted July 6, 2023 @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? Quote
orthodox Posted September 26, 2023 Posted September 26, 2023 (edited) В 06.07.2023 в 06:54, padonis сказал: @jenssie What is this file and what does it do? Hm. Good question To view hidden content, you need to:• Register or Sign in to your account! Edited October 16, 2023 by orthodox Quote
savas toprak Posted August 20 Posted August 20 (edited) license key not working, not nulled Edited August 20 by savas toprak Quote
Recommended Posts
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.