From 3355affd6c11b6ab32015bd1eed4306bd020b56b Mon Sep 17 00:00:00 2001
From: M <m@lfurio.us>
Date: Sat, 21 Nov 2015 17:37:18 -0500
Subject: + Committing initial framework class definition

---
 app/class/framework.class.php | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 app/class/framework.class.php

(limited to 'app')

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;
+    }
+}
+
+?>
-- 
cgit v1.2.3