|
From: <ken...@us...> - 2008-08-13 14:11:28
|
Revision: 524
http://andro.svn.sourceforge.net/andro/?rev=524&view=rev
Author: kendowns
Date: 2008-08-13 14:11:37 +0000 (Wed, 13 Aug 2008)
Log Message:
-----------
Small hardcoded tweak to allow new configuration pages to run in x4 mode in an x2 system.
Modified Paths:
--------------
trunk/andro/lib/index_hidden.php
Modified: trunk/andro/lib/index_hidden.php
===================================================================
--- trunk/andro/lib/index_hidden.php 2008-08-13 14:09:16 UTC (rev 523)
+++ trunk/andro/lib/index_hidden.php 2008-08-13 14:11:37 UTC (rev 524)
@@ -326,6 +326,18 @@
app_after_db_connect();
}
+# KFD 8/13/08 Hardcoded insurance that the config pages
+# always come up as x4 pages, since that is
+# how they were coded. Must also set a flag
+# to keep menu in x2 mode.
+$x4Required = array(
+ 'configfw','configapp','configinst','configuser','configconfirm'
+);
+if(in_array(gp('gp_page'),$x4Required)) {
+ gpSet('x4Page',gp('gp_page'));
+}
+
+
# KFD 7/23/08
# If no page was passed in, we have to do default page
# handling. For this we must know if we are normally
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|