1
0

Getting rid of dangeros in export.php, import.php and folders.php.

This commit is contained in:
Stefan Frech
2008-08-12 19:40:21 +00:00
committed by Jonas Kattendick
parent 132a3c4c0d
commit 754adfab01
7 changed files with 35 additions and 30 deletions

View File

@@ -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;