mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
9bc88e5e40
commit
b5c4681a11
1 changed files with 1 additions and 1 deletions
|
@ -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')) {
|
||||
|
|
Loading…
Reference in a new issue