[Openupload-svn-update] SF.net SVN: openupload:[221] trunk/lib/general.inc.php
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2009-01-19 12:55:26
|
Revision: 221
http://openupload.svn.sourceforge.net/openupload/?rev=221&view=rev
Author: tsdogs
Date: 2009-01-19 11:55:42 +0000 (Mon, 19 Jan 2009)
Log Message:
-----------
fix wrong parameter order to strpos (should have spotted this before!!!)
Modified Paths:
--------------
trunk/lib/general.inc.php
Modified: trunk/lib/general.inc.php
===================================================================
--- trunk/lib/general.inc.php 2009-01-18 08:36:55 UTC (rev 220)
+++ trunk/lib/general.inc.php 2009-01-19 11:55:42 UTC (rev 221)
@@ -42,7 +42,7 @@
if ($url == '') {
header('location: '.$_SERVER['PHP_SELF']);
- } else if (strpos('http://',$url)===FALSE and strpos('https://',$url)===FALSE) {
+ } else if (strpos($url,'http://')===FALSE and strpos($url,'https://')===FALSE) {
header('location: '.$_SERVER['PHP_SELF'].$url);
} else {
header('location: '.$url);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|