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]
예제 #1
0
 public function testRemoveAutoloadFiles()
 {
     ScriptHandler::removeAutoloadFiles();
 }