summaryrefslogtreecommitdiffstats
path: root/app/class/framework.class.php
blob: 452f0c3cd74a9083931aba1009480dea9d66309e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
    }
}

?>