mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Removing reference operators.
This commit is contained in:
parent
a04c87c42a
commit
5c4d46abda
1 changed files with 2 additions and 2 deletions
|
@ -963,7 +963,7 @@ class App {
|
||||||
if (!class_exists('Folder')) {
|
if (!class_exists('Folder')) {
|
||||||
require LIBS . 'folder.php';
|
require LIBS . 'folder.php';
|
||||||
}
|
}
|
||||||
$Folder =& new Folder();
|
$Folder = new Folder();
|
||||||
$directories = $Folder->tree($path, array('.svn', '.git', 'CVS', 'tests', 'templates'), 'dir');
|
$directories = $Folder->tree($path, array('.svn', '.git', 'CVS', 'tests', 'templates'), 'dir');
|
||||||
sort($directories);
|
sort($directories);
|
||||||
self::$__paths[$path] = $directories;
|
self::$__paths[$path] = $directories;
|
||||||
|
@ -1197,7 +1197,7 @@ class App {
|
||||||
require LIBS . 'folder.php';
|
require LIBS . 'folder.php';
|
||||||
}
|
}
|
||||||
$items = array();
|
$items = array();
|
||||||
$Folder =& new Folder($path);
|
$Folder = new Folder($path);
|
||||||
$contents = $Folder->read(false, true);
|
$contents = $Folder->read(false, true);
|
||||||
|
|
||||||
if (is_array($contents)) {
|
if (is_array($contents)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue