Removing reference operators.

This commit is contained in:
mark_story 2010-07-10 11:45:10 -04:00
parent a04c87c42a
commit 5c4d46abda

View file

@ -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)) {