|
发表于 2012-9-17 17:37:47
|
显示全部楼层
CI源码中出现Ucfirst的地方,大写就这些地方需要注意
system/core/Loader.php:301: $model = ucfirst($model);
system/core/Loader.php:628: $library = ucfirst($library).'/'.$library;
system/core/Loader.php:899: foreach (array(ucfirst($class), strtolower($class)) as $class)
system/core/Loader.php:906: $baseclass = BASEPATH.'libraries/'.ucfirst($class).'.php';
system/core/Loader.php:1029: elseif (defined('ENVIRONMENT') AND file_exists($path .'config/'.ENVIR
system/core/Loader.php:1031: include($path .'config/'.ENVIRONMENT.'/'.ucfirst(strtolower($
system/core/Loader.php:1039: elseif (file_exists($path .'config/'.ucfirst(strtolower($class)).'.ph
system/core/Loader.php:1041: include($path .'config/'.ucfirst(strtolower($class)).'.php');
system/libraries/Driver.php:48: $lib_name = ucfirst(strtolower(str_replace('CI_', '', $this->lib_name)));
system/libraries/Driver.php:60: foreach (array(ucfirst($driver_name), $driver_name) as $class)
system/libraries/Migration.php:168: $class = 'Migration_' . ucfirst($match[1]);
system/libraries/Migration.php:207: $class = 'Migration_' . ucfirst(strtolower($migration)); |
|