芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/shimoda/vendor/ircmaxell/security-lib/test/bootstrap.php
* @copyright 2011 The Authors * @license http://opensource.org/licenses/bsd-license.php New BSD License * @license http://www.gnu.org/licenses/lgpl-2.1.html LGPL v 2.1 */ namespace SecurityLibTest; ini_set('memory_limit', '1G'); /** * The simple autoloader for the PasswordLibTest libraries. * * This does not use the PRS-0 standards due to the namespace prefix and directory * structure * * @param string $class The class name to load * * @return void */ spl_autoload_register(function ($class) { $nslen = strlen(__NAMESPACE__); if (substr($class, 0, $nslen) != __NAMESPACE__) { //Only autoload libraries from this package return; } $path = substr(str_replace('\\', '/', $class), $nslen); $path = __DIR__ . $path . '.php'; if (file_exists($path)) { require $path; } }); define('PATH_ROOT', dirname(__DIR__)); require_once dirname(__DIR__) . '/vendor/autoload.php';