Getting rid of dangeros in export.php, import.php and folders.php.
This commit is contained in:
@@ -182,13 +182,14 @@ else{
|
||||
|
||||
class export {
|
||||
function export () {
|
||||
global $settings, $browser;
|
||||
# collect the folder data
|
||||
require_once (ABSOLUTE_PATH . "folders.php");
|
||||
$this->tree = & new folder;
|
||||
$this->tree->folders[0] = array ('id' => 0, 'childof' => null, 'name' => $GLOBALS['settings']['root_folder_name']);
|
||||
$this->tree->folders[0] = array ('id' => 0, 'childof' => null, 'name' => $settings['root_folder_name']);
|
||||
|
||||
global $username, $mysql;
|
||||
$this->browser = $GLOBALS['browser'];
|
||||
$this->browser = $browser;
|
||||
|
||||
$this->counter = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user