Browse Source

updating bootstrap and index

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5533 3807eeeb-6ff5-0310-8944-8be069107fe0
gwoo 18 years ago
parent
commit
bab2df65d0
2 changed files with 3 additions and 3 deletions
  1. 2 2
      cake/bootstrap.php
  2. 1 1
      index.php

+ 2 - 2
cake/bootstrap.php

@@ -37,13 +37,13 @@ if (!defined('PHP5')) {
 		$TIME_START = getMicrotime();
 		require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php';
 		require LIBS . 'object.php';
+		require LIBS . 'inflector.php';
 		require LIBS . 'configure.php';
-		require APP_PATH . 'config' . DS . 'core.php';
 	}
+	require APP_PATH . 'config' . DS . 'core.php';
 	require LIBS . 'cache.php';
 	require LIBS . 'session.php';
 	require LIBS . 'security.php';
-	require LIBS . 'inflector.php';
 
 	if (isset($cakeCache)) {
 		$cache = 'File';

+ 1 - 1
index.php

@@ -53,9 +53,9 @@
 	}
 	require CORE_PATH . 'cake' . DS . 'basics.php';
 	$TIME_START = getMicrotime();
-	require APP_PATH . 'config' . DS . 'core.php';
 	require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php';
 	require LIBS . 'object.php';
+	require LIBS . 'inflector.php';
 	require LIBS . 'configure.php';
 
 	$bootstrap = true;