PHP Класс Altax\Script\ScriptHandler

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$autoloadBaseDir

Открытые методы

Метод Описание
removeAutoloadFiles ( ) : [type] remove autoload configuration in autoload_files.php generated by composer.

Описание методов

removeAutoloadFiles() публичный статический Метод

autoload_files.php includes '/phpseclib/phpseclib/phpseclib/Crypt/Random.php'. and composer autoloader defines crypt_random_string function at initialize process. If you load phpseclib in a altax task configuration files (ex .altax/config.php) using composer autoloading. You will get a error PHP Fatal error: Cannot redeclare crypt_random_string(). In order to prevent the error. remove this settings.
public static removeAutoloadFiles ( ) : [type]
Результат [type]

Описание свойств

$autoloadBaseDir публичное статическое свойство

public static $autoloadBaseDir