From 3f778d8936dcca010d59f2d76dc25bd7abbcf152 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 8 Oct 2011 14:40:11 -0400 Subject: [PATCH] Fix inconsistency between app and skel directory. Fixes #2077 --- lib/Cake/Console/Templates/skel/webroot/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Cake/Console/Templates/skel/webroot/index.php b/lib/Cake/Console/Templates/skel/webroot/index.php index ab9465402..fcbc32edf 100644 --- a/lib/Cake/Console/Templates/skel/webroot/index.php +++ b/lib/Cake/Console/Templates/skel/webroot/index.php @@ -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 */ @@ -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; }