diff options
Diffstat (limited to 'app/class/framework.class.php')
-rw-r--r-- | app/class/framework.class.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/class/framework.class.php b/app/class/framework.class.php new file mode 100644 index 0000000..452f0c3 --- /dev/null +++ b/app/class/framework.class.php @@ -0,0 +1,26 @@ +<?php + +/* + * Global functions / operations and access to contextual or session-based information + */ +abstract class Framework +{ + /* + * Get the absolute path on this server for the root of this app + */ + function ar() + { + /* TODO */ + } + + /* + * Redirect to the given URL and die + */ + function redirectTo($url) + { + http_redirect($url); + exit; + } +} + +?> |