fixes #4893, open_basedir errors messages

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7204 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2008-06-17 05:47:11 +00:00
parent 9bc88e5e40
commit b5c4681a11

View file

@ -473,7 +473,7 @@ class Configure extends Object {
foreach ($all as $path) {
$path = rtrim($path, DS);
if ($path == '.' || in_array(realpath($path), $used)) {
if (empty($path) || $path == '.' || in_array(realpath($path), $used)) {
continue;
}
if (is_dir($path . DS . 'cake' . DS . 'libs')) {