Commit 37bd84ee authored by changi67's avatar changi67
parent 8cda7943
......@@ -61,6 +61,6 @@ Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for detail
*/
// I call index.php because tiki may not be setup when people attempt to call this.
header ("location: index.php");
header("location: index.php");
die;
......@@ -84,7 +84,7 @@ if ( isset($_REQUEST["reload"]) || !$useCache || !is_file($cachefile) ) {
}
$type = $storedData["image_type"];
$data =& $storedData["image_data"];
header ("Content-type: ".$type);
header("Content-type: ".$type);
if (!empty($_REQUEST['width'])) {
require_once('lib/images/images.php');
$image = new Image($data);
......@@ -102,6 +102,6 @@ if ( isset($_REQUEST["reload"]) || !$useCache || !is_file($cachefile) ) {
}
$size = getimagesize($cachefile);
header ("Content-type: ".$size['mime']);
header("Content-type: ".$size['mime']);
readfile($cachefile);
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../tiki-index.php");
header("location: ../tiki-index.php");
die;
......@@ -17,4 +17,4 @@ $access->check_feature('feature_banners');
$bannerlib->add_click($_REQUEST["id"]);
$url = urldecode($_REQUEST["url"]);
header ("location: $url");
header("location: $url");
......@@ -19,7 +19,7 @@ if (is_file($bannercachefile) and (!isset($_REQUEST["reload"]))) {
$size = getimagesize($bannercachefile);
$type = $size['mime'];
header ("Content-type: $type");
header("Content-type: $type");
readfile($bannercachefile);
exit;
}
......@@ -57,7 +57,7 @@ if (is_file($bannercachefile) and (!isset($_REQUEST["reload"]))) {
}
}
header ("Content-type: $type");
header("Content-type: $type");
if (is_file($bannercachefile)) {
readfile($bannercachefile);
} else {
......
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../index.php");
header("location: ../index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../tiki-index.php");
header("location: ../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../tiki-index.php");
header("location: ../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../tiki-index.php");
header("location: ../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../tiki-index.php");
header("location: ../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../index.php");
header("location: ../index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../index.php");
header("location: ../index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../tiki-index.php");
header("location: ../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../tiki-index.php");
header("location: ../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../../tiki-index.php");
header("location: ../../tiki-index.php");
die;
......@@ -7,7 +7,7 @@
require_once ('tiki-setup.php');
if ( ! headers_sent() ) {
header ('location: '.$prefs['tikiIndex']);
header('location: '.$prefs['tikiIndex']);
} else {
die("header already sent");
}
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../tiki-index.php");
header("location: ../tiki-index.php");
die;
......@@ -6,5 +6,5 @@
// $Id$
// This redirects to the sites root to prevent directory browsing
header ("location: ../index.php");
header("location: ../index.php");
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../tiki-index.php');
header('location: ../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');
die;
......@@ -5,5 +5,5 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
header ('location: ../../tiki-index.php');
header('location: ../../tiki-index.php');