diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/file.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/file.php b/app/file.php index 445bd6b..17044f3 100644 --- a/app/file.php +++ b/app/file.php @@ -12,6 +12,19 @@ require_once "class/framework.class.php"; */ class Resource extends Framework { + /* + * Get request and figure out what type it is + */ + function handle($dir, $file) + { + if (basename($file) != $file || $file == "") + return; + + switch ($dir) + { + case "img/heads": $this->heads($file); break; + } + } } $res = new Resource(); |