summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/class/framework.class.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/class/framework.class.php b/app/class/framework.class.php
index e20be7f..5232135 100644
--- a/app/class/framework.class.php
+++ b/app/class/framework.class.php
@@ -10,6 +10,15 @@ is_file("scrott.conf.php") &&
abstract class Framework
{
/*
+ * Check for the existence of Scrott's system-level config
+ */
+ function scrottConfExists()
+ {
+ global $_SCROTT;
+ return isset($_SCROTT['conf']);
+ }
+
+ /*
* Get the absolute path on this server for the root of this app
*/
function ar()