From e335bc17622c2c8cbe96ff81459e9bb0470f1ab7 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 2 Aug 2010 10:36:55 +0000 Subject: [PATCH] 2010-08-02 Miguel de Dios * include/functions_filemanager.php: cleaned source code, changed the show to buttons of actions (create file, upload...) to out the list of files. And check if the directory is writeable to show this buttons. * include/get_file.php: added file to work as mediator between the Pandora and file system, and added a some security checks as check login and others. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 8 +++ .../include/functions_filemanager.php | 46 ++++++++++++---- pandora_console/include/get_file.php | 55 +++++++++++++++++++ 3 files changed, 98 insertions(+), 11 deletions(-) create mode 100644 pandora_console/include/get_file.php diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0bfef51b6e..7952945367 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2010-08-02 Miguel de Dios + * include/functions_filemanager.php: cleaned source code, changed the show + to buttons of actions (create file, upload...) to out the list of files. And + check if the directory is writeable to show this buttons. + + * include/get_file.php: added file to work as mediator between the Pandora + and file system, and added a some security checks as check login and others. + 2010-07-30 Sergio Martin * extras/pandoradb_migrate_v3.1_to_v3.2.sql: Typo fix diff --git a/pandora_console/include/functions_filemanager.php b/pandora_console/include/functions_filemanager.php index 82dab998d3..53974c31e8 100644 --- a/pandora_console/include/functions_filemanager.php +++ b/pandora_console/include/functions_filemanager.php @@ -420,6 +420,8 @@ function file_explorer($real_directory, $relative_directory, $url, $father = '', ?>