diff --git a/lib/headers.php b/lib/headers.php index 52c3bbf..91274fd 100644 --- a/lib/headers.php +++ b/lib/headers.php @@ -4,6 +4,8 @@ if(strpos(str_replace("\\","/",dirname(__FILE__)),"tmp/oldVersion") !== false) { die("This is an old version of ICEcoder. Won't run from tmp/oldVersion/ dir."); } +$iceURLPath = rtrim(rtrim($_SERVER['REQUEST_URI'], "index.php"), "/"); + // Load common functions include_once(dirname(__FILE__)."/settings-common.php"); if (isset($_SESSION['text'])) { diff --git a/lib/plugins-display.php b/lib/plugins-display.php index 1a6e432..48c816f 100644 --- a/lib/plugins-display.php +++ b/lib/plugins-display.php @@ -10,19 +10,19 @@ if ($_SESSION['loggedIn']) { $pluginsDisplay = ""; for ($i=0;$i'.$ICEcoder[

'; + $pluginsDisplay .= ''.$ICEcoder[

'; }; // If we're updating plugins, update those shown if (isset($_GET['updatedPlugins'])) { - echo ""; + echo ""; } // Work out what plugins we'll need to set on a setInterval $onLoadExtras = ""; for ($i=0;$i