aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_css/css.php2
-rw-r--r--_css/js.php2
-rw-r--r--upgrade.php3
3 files changed, 6 insertions, 1 deletions
diff --git a/_css/css.php b/_css/css.php
index a6eebee20..7030bf174 100644
--- a/_css/css.php
+++ b/_css/css.php
@@ -26,6 +26,8 @@
echo $default_css;
*/
+ define('externalpage',true);
+
global $viewinput;
$viewinput['view'] = 'css';
$viewinput['viewtype'] = $_GET['viewtype'];
diff --git a/_css/js.php b/_css/js.php
index a90c87829..cb1a6c8ab 100644
--- a/_css/js.php
+++ b/_css/js.php
@@ -26,6 +26,8 @@
echo $default_css;
*/
+ define('externalpage',true);
+
global $viewinput;
$viewinput['view'] = 'js/' . $_GET['js'];
$viewinput['viewtype'] = $_GET['viewtype'];
diff --git a/upgrade.php b/upgrade.php
index 9e8ec5d74..90207f880 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -14,7 +14,8 @@
*/
// Include elgg engine
- define('upgrading','upgrading');
+ define('upgrading','upgrading');
+ define('externalpage',true);
require_once(dirname(__FILE__) . "/engine/start.php");
if (get_input('upgrade') == 'upgrade') {