diff options
| author | Horus3 | 2014-09-18 15:51:24 +0200 |
|---|---|---|
| committer | Horus3 | 2014-09-18 15:51:24 +0200 |
| commit | f39735adc85901a3a2db83d16334ffff66960f65 (patch) | |
| tree | d06114a215f951bf488592ddca7c57a8e48be543 | |
| parent | 549f9ae5de4943e347c4d2810d795d00d53e76c8 (diff) | |
| download | vfs-f39735adc85901a3a2db83d16334ffff66960f65.tar.gz | |
feature roadmap
| -rw-r--r-- | public_html/functions.php | 6 | ||||
| -rw-r--r-- | public_html/vfs_bootstrap.php | 6 | ||||
| -rw-r--r-- | roadmap.txt | 45 |
3 files changed, 53 insertions, 4 deletions
diff --git a/public_html/functions.php b/public_html/functions.php index a5dbd83..c185bd5 100644 --- a/public_html/functions.php +++ b/public_html/functions.php @@ -7,15 +7,15 @@ function failure($reason, $httpcode, $ajax = true, $heading = NULL){ if($ajax){ # just echo the reason to the ajax response - echo $reason; + echo htmlentities($reason); exit } // TODO: Put pretty HTML here, please if($heading != NULL) - echo $heading; + echo htmlentities($heading); - echo $reason; + echo htmlentities($reason); # exit the script here exit; diff --git a/public_html/vfs_bootstrap.php b/public_html/vfs_bootstrap.php index d3624aa..341b0aa 100644 --- a/public_html/vfs_bootstrap.php +++ b/public_html/vfs_bootstrap.php @@ -2,5 +2,9 @@ # loads the vfs environment require_once( dirname(__FILE__) . '/vfs_config.php'); + +if ( ! defined(VFS_CLASS) ) + define('VFS_CLASS', 'class/'); + require(ABSPATH . 'functions.php'); -require(ABSPATH . 'class/mysql.php'); +require(ABSPATH . VFS_CLASS . 'mysql.php'); diff --git a/roadmap.txt b/roadmap.txt new file mode 100644 index 0000000..b18983c --- /dev/null +++ b/roadmap.txt @@ -0,0 +1,45 @@ +feature roadmap + +folder { + create + delete + move + copy? + rename + set visibility + advanced { + visibility { + share whole folder + password protect + } + } +} + +files { + upload + download + move + copy + delete + set extended visibility { + private + public + password protected + direct link + } +} + +user { + register + invite? + login + logout + rename + password recover + account management +} + +misc { + brutforce detection + cache +} |
