|
From: <ken...@us...> - 2008-08-19 01:15:57
|
Revision: 553
http://andro.svn.sourceforge.net/andro/?rev=553&view=rev
Author: kendowns
Date: 2008-08-19 01:16:06 +0000 (Tue, 19 Aug 2008)
Log Message:
-----------
Hugely important one-line change to command-line processing.
Modified Paths:
--------------
trunk/andro/lib/index_hidden.php
Modified: trunk/andro/lib/index_hidden.php
===================================================================
--- trunk/andro/lib/index_hidden.php 2008-08-19 01:15:24 UTC (rev 552)
+++ trunk/andro/lib/index_hidden.php 2008-08-19 01:16:06 UTC (rev 553)
@@ -401,6 +401,19 @@
,'script'=>array()
);
+ # EXPERIMENTAL.
+ # KFD 8/18/08. Having any gp vars might be screwing things
+ # up, remove them. Specifically it is screwing
+ # up the gp_command
+#hprint_r($GLOBALS['AG']['clean']);
+ gpUnsetPrefix('gpx');
+ gpUnsetPrefix('gp_');
+ gpUnsetPrefix('x2t_');
+ gpUnset('gpContext');
+#hprint_r($GLOBALS['AG']['clean']);
+##echo ob_get_clean();
+#exit;
+
# If they are not logged in, or have timed out,
# send a redirection command to the login page
#
@@ -672,7 +685,11 @@
gpSet('gpx_page',$table_id);
gpSet('gp_mode' ,'browse');
gpSet('gpx_mode','search');
- $dd=dd_tableRef($table_id);
+ # KFD 8/18/08 MAJOR CHANGE. Loading this up w/old code caused
+ # things like viewname not to exist
+ #$dd=dd_tableRef($table_id);
+ $dd = ddTable($table_id);
+ # KFD 8/18/08
$cols = explode(',',$dd['projections']['_uisearch']);
array_shift($cols); // pop off the first one, assume it is the pk/code
gpUnsetPrefix('x2t_'); // clear troublesome values
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|