Index: trunk/admin/install/install_lib.php =================================================================== diff -u -r542 -r773 --- trunk/admin/install/install_lib.php (.../install_lib.php) (revision 542) +++ trunk/admin/install/install_lib.php (.../install_lib.php) (revision 773) @@ -457,8 +457,10 @@ //$lic = LoadLicense(); $lic = base64_decode($g_License); inst_ParseLicense($lic); -// echo "Checking $g_Domain..
\n"; -// echo "
";print_r($i_Keys); echo "

"; + + //echo "Checking $g_Domain..
\n"; + //echo "
";print_r($i_Keys); echo "

"; + $modules = array(); if(!inst_IsLocalSite($g_Domain)) { @@ -471,14 +473,14 @@ } } if(in_array($name,$modules)) - { -// echo "Module $name is licensed
\n"; + { + //echo "Module $name is licensed
\n"; return TRUE; - } - else - { - // echo "Module $name is not licensed
\n"; - return FALSE; + } + else + { + //echo "Module $name is not licensed
\n"; + return FALSE; } } else @@ -557,9 +559,9 @@ $inst_file = $ModuleAdminDir.'install.php'; if( file_exists($inst_file) && file_exists($ModuleAdminDir.'install/inportal_schema.sql') ) { - //if(inst_ModuleLicensed($file)) + if(inst_ModuleLicensed($file)) { $new[$file] = $inst_file; - + } } } }