summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2010-03-12 01:27:51 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2010-03-12 01:27:51 +0100
commit75887a6c0c19f7f901c8c65553de2aece5ba6d83 (patch)
tree99f426765a3549804846ee33c7452c539fa4cd7a
parentd99e603f47e10adc015d4b804352db71f0563062 (diff)
Fixed constant SELF undefined issue when a bad system folder is set.
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 0ad8fd823..f27520e72 100644
--- a/index.php
+++ b/index.php
@@ -113,7 +113,7 @@
// Is the sytsem path correct?
if ( ! is_dir($system_path))
{
- exit("Your system folder path does not appear to be set correctly. Please open the following file and correct this: ".SELF);
+ exit("Your system folder path does not appear to be set correctly. Please open the following file and correct this: ".pathinfo(__FILE__, PATHINFO_BASENAME));
}
/*