aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-24 12:07:26 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-24 12:07:26 +0000
commitf06d225adc3115deb7fadc8f8eb5633b177a3677 (patch)
tree38b5200ce22dc88e4297b2cbd725f3f1b16b630f
parent2fbf83b5374e76186dd5b16456bc50926a0a1a10 (diff)
downloadelgg-f06d225adc3115deb7fadc8f8eb5633b177a3677.tar.gz
elgg-f06d225adc3115deb7fadc8f8eb5633b177a3677.tar.bz2
CSS, JS, upgrade are marked as external pages.
git-svn-id: https://code.elgg.org/elgg/trunk@2919 36083f99-b078-4883-b0ff-0f9b5a30f544
-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') {