diff options
author | M <m@lfurio.us> | 2015-11-22 00:24:37 -0500 |
---|---|---|
committer | M <m@lfurio.us> | 2015-11-22 00:24:37 -0500 |
commit | debd679aa4e3d7eb2d216e57df859dd9e6427f5f (patch) | |
tree | 56956a0745f7ff34e5b60bc1b71891671937d212 /app | |
parent | dfa67b6059c9657454d3abed2e66ce30ce168960 (diff) | |
download | scrott-debd679aa4e3d7eb2d216e57df859dd9e6427f5f.tar.gz scrott-debd679aa4e3d7eb2d216e57df859dd9e6427f5f.zip |
* Implemented framework ar (app root) function
Diffstat (limited to 'app')
-rw-r--r-- | app/class/framework.class.php | 2 |
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" } /* |