Skip to content

Commit

Permalink
Fix inconsistency between app and skel directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 8, 2011
1 parent e07256b commit 3f778d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Cake/Console/Templates/skel/webroot/index.php
Expand Up @@ -52,7 +52,7 @@
* This should point at the directory containg `Cake`.
*
* For ease of development CakePHP uses PHP's include_path. If you
* need to squeeze a bit more performance you can set this path.
* cannot modify your include_path set this value.
*
* Leaving this constant undefined will result in it being defined in Cake/bootstrap.php
*/
Expand All @@ -71,6 +71,9 @@
}

if (!defined('CAKE_CORE_INCLUDE_PATH')) {
if (function_exists('ini_set')) {
ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path'));
}
if (!include('Cake' . DS . 'bootstrap.php')) {
$failed = true;
}
Expand Down

0 comments on commit 3f778d8

Please sign in to comment.