Skip to content

Commit

Permalink
Fixed last fix! Trying to use a function that is loaded by the includ…
Browse files Browse the repository at this point in the history
…e statement is pretty silly if you've deliberately move the function to above the include statement to avoid another problem with the include statement. Mark that one up for insufficient circular logic by me. :-(

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@755 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Nov 1, 2003
1 parent 632c4fa commit 1c5f5f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.php
Expand Up @@ -37,7 +37,8 @@

session_start();

if (!isset($sid)) {$sid=returnglobal('sid');}
if (!isset($sid)) {$sid=$_GET('sid');}
if (!isset($sid)) {$sid=$_POST('sid');}
if (phpversion() >= '4.2.0') {settype($sid, "int");} else {settype($sid, "integer");}

include("./admin/config.php");
Expand Down

0 comments on commit 1c5f5f6

Please sign in to comment.