芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/lib/phpexcel/PHPExcel/Autoloader.php
= 0) { return spl_autoload_register(array('PHPExcel_Autoloader', 'load'), true, true); } else { return spl_autoload_register(array('PHPExcel_Autoloader', 'load')); } } /** * Autoload a class identified by name * * @param string $pClassName Name of the object to load */ public static function load($pClassName) { if ((class_exists($pClassName, false)) || (strpos($pClassName, 'PHPExcel') !== 0)) { // Either already loaded, or not a PHPExcel class request return false; } $pClassFilePath = PHPEXCEL_ROOT . str_replace('_', DIRECTORY_SEPARATOR, $pClassName) . '.php'; if ((file_exists($pClassFilePath) === false) || (is_readable($pClassFilePath) === false)) { // Can't load return false; } require($pClassFilePath); } }