Файловый менеджер - Редактировать - /home/lmsyaran/public_html/administrator/components/com_componentbuilder/custom/bbb/autoload.php
Назад
<?php namespace BigBlueButton; spl_autoload_register(function ($class) { // Namespace of your library $namespace = 'BigBlueButton\\'; // The base directory where your library's src/ directory resides $baseDir = __DIR__ . '/src/'; // If the namespace does not match, move to the next registered autoloader if (strpos($class, $namespace) !== 0) { return; } // Get the relative class name $relativeClass = substr($class, strlen($namespace)); // Replace the namespace prefix with the base directory, replace namespace separators with directory separators $file = $baseDir . str_replace('\\', '/', $relativeClass) . '.php'; // If the file exists, require it if (file_exists($file)) { require $file; } });
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка