summaryrefslogtreecommitdiffstats
path: root/app/class
diff options
context:
space:
mode:
authorM <m@lfurio.us>2015-11-22 00:24:37 -0500
committerM <m@lfurio.us>2015-11-22 00:24:37 -0500
commitdebd679aa4e3d7eb2d216e57df859dd9e6427f5f (patch)
tree56956a0745f7ff34e5b60bc1b71891671937d212 /app/class
parentdfa67b6059c9657454d3abed2e66ce30ce168960 (diff)
downloadscrott-debd679aa4e3d7eb2d216e57df859dd9e6427f5f.tar.gz
scrott-debd679aa4e3d7eb2d216e57df859dd9e6427f5f.zip
* Implemented framework ar (app root) function
Diffstat (limited to 'app/class')
-rw-r--r--app/class/framework.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/framework.class.php b/app/class/framework.class.php
index 5232135..11902d0 100644
--- a/app/class/framework.class.php
+++ b/app/class/framework.class.php
@@ -23,7 +23,7 @@ abstract class Framework
*/
function ar()
{
- /* TODO */
+ return substr($_SERVER['PHP_SELF'], 0, -10); // 10 = length of "/index.php"
}
/*