We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15fe430 commit 9ba08fbCopy full SHA for 9ba08fb
1 file changed
lib/headers.php
@@ -1,4 +1,9 @@
1
<?php
2
+// Stop if we're running an old version in the tmp dir
3
+if(strpos(str_replace("\\","/",dirname(__FILE__)),"tmp/oldVersion") !== false) {
4
+ die("This is an old version of ICEcoder. Won't run from tmp/oldVersion/ dir.");
5
+}
6
+
7
// Load common functions
8
include_once(dirname(__FILE__)."/settings-common.php");
9
$text = $_SESSION['text'];
0 commit comments