redray
2008-12-15 39edfec85487f7de81fbade3c31bf2de4fabff9f
install/lib/installer_base.lib.php
@@ -159,6 +159,11 @@
         if(count($db_tables) == 0) {
            $this->error('Unable to load SQL-Dump into database table.');
         }
         //* Load system.ini into the sys_ini table
         $system_ini = $this->db->quote(rf('tpl/system.ini.master'));
         $this->db->query("UPDATE sys_ini SET config = '$system_ini' WHERE sysini_id = 1");
      }
   }
   
@@ -714,7 +719,7 @@
          $tcp_public_services = trim(str_replace(',',' ',$row["tcp_port"]));
          $udp_public_services = trim(str_replace(',',' ',$row["udp_port"]));
        } else {
          $tcp_public_services = '21 22 25 53 80 110 443 8080 10000';
          $tcp_public_services = '21 22 25 53 80 110 443 3306 8080 10000';
          $udp_public_services = '53';
        }
        $content = str_replace("{TCP_PUBLIC_SERVICES}", $tcp_public_services, $content);