diff --git a/cake/libs/configure.php b/cake/libs/configure.php index f48ca9895..347708850 100644 --- a/cake/libs/configure.php +++ b/cake/libs/configure.php @@ -437,7 +437,9 @@ class Configure extends Object { $componentPaths = null; $behaviorPaths = null; if ($boot) { - require APP_PATH . 'config' . DS . 'bootstrap.php'; + if (!include(APP_PATH . 'config' . DS . 'bootstrap.php')) { + trigger_error("Can't find application bootstrap file. Please create " . CONFIGS . "bootstrap.php, and make sure it is readable by PHP.", E_USER_ERROR); + } } $_this->__buildModelPaths($modelPaths); $_this->__buildViewPaths($viewPaths); diff --git a/cake/libs/view/helper.php b/cake/libs/view/helper.php index 82a423c25..6ffd4e24c 100644 --- a/cake/libs/view/helper.php +++ b/cake/libs/view/helper.php @@ -145,7 +145,7 @@ class Helper extends Overloadable { function get__($name) {} function set__($name, $value) {} function call__($method, $params) { - trigger_error(sprintf(__('Method %1$s::%2$s does not exist', true), get_class($this), $method), E_USER_ERROR); + trigger_error(sprintf(__('Method %1$s::%2$s does not exist', true), get_class($this), $method), E_USER_WARNING); } /**