Index: trunk/admin/install.php
===================================================================
diff -u -r89 -r92
--- trunk/admin/install.php (.../install.php) (revision 89)
+++ trunk/admin/install.php (.../install.php) (revision 92)
@@ -150,7 +150,7 @@
//echo "RU: $rootURL
";
// simulate rootURL variable: end
-$db_savings = Array('dbinfo', 'db_config_save', 'db_reconfig_save', 'reinstall_process');
+$db_savings = Array('dbinfo', 'db_config_save', 'db_reconfig_save'); //, 'reinstall_process'
if(strlen($g_DBType)>0 && strlen($state)>0 && !in_array($state, $db_savings) )
{
require_once($pathtoroot."kernel/startup.php");
@@ -435,11 +435,14 @@
$Modules = array();
$Texts = array();
-
+
$sql = "SELECT Name, Version FROM ".$g_TablePrefix."Modules";
+
$rs = $ado->Execute($sql);
+ //echo '
'.print_r($rs->GetRows(), true).''; $i = 0; + while ($rs && !$rs->EOF) { $p = strtolower($rs->fields['Name']); // $modules .= strtolower($rs->fields['Name']).','; @@ -450,11 +453,13 @@ // foreach($mod_arr as $p) // { + if ($p == 'in-portal') { $p = ''; } $dir_name = $pathtoroot.$p."/admin/install/upgrades/"; + $dir = @dir($dir_name); //echo "
"; print_r($dir); echo "";