converted path constants to $GLOBALS.

This commit is contained in:
Taylor Otwell
2012-01-27 16:17:43 -06:00
parent 09d4b74cf1
commit f44c565ee4
28 changed files with 80 additions and 83 deletions

View File

@@ -16,8 +16,8 @@
*/
Autoloader::psr(array(
APP_PATH.'models',
APP_PATH.'libraries',
$GLOBALS['APP_PATH'].'models',
$GLOBALS['APP_PATH'].'libraries',
));
/*
@@ -37,6 +37,6 @@ Autoloader::psr(array(
*/
Autoloader::map(array(
//'User' => APP_PATH.'models/user.php',
//'Role' => APP_PATH.'models/role.php',
//'User' => $GLOBALS['APP_PATH'].'models/user.php',
//'Role' => $GLOBALS['APP_PATH'].'models/role.php',
));