diff options
| author | M <m@lfurio.us> | 2015-11-21 17:37:18 -0500 | 
|---|---|---|
| committer | M <m@lfurio.us> | 2015-11-21 17:37:18 -0500 | 
| commit | 3355affd6c11b6ab32015bd1eed4306bd020b56b (patch) | |
| tree | 54482d825885fc24f946e93631636ebedff68ca4 | |
| parent | dbba1012ca163a9e9117ff3f6c2a7ca984b4dc4c (diff) | |
| download | scrott-3355affd6c11b6ab32015bd1eed4306bd020b56b.tar.gz scrott-3355affd6c11b6ab32015bd1eed4306bd020b56b.zip | |
+ Committing initial framework class definition
Diffstat (limited to '')
| -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; +    } +} + +?> | 
