Changeset 103 for dev/install
- Timestamp:
- 11/28/06 20:20:08 (14 years ago)
- Location:
- dev/install
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/install/config.tpl
r99 r103 62 62 define('DB_PASS', '{$pass}'); 63 63 64 // please make sure that there is no space behind ?>64 // please make sure that there is no space behind the closing tag 65 65 ?> -
dev/install/install_step4.php
r88 r103 82 82 $i = 0; 83 83 $did = false; 84 $errors = false; 84 85 if (!isset($_SESSION['doopt'])) 85 86 { … … 97 98 foreach ($querys as $query) 98 99 { 99 $id = mysql_query($query); 100 if (trim($query)) 101 { 102 $id = mysql_query($query); 103 } 100 104 } 101 105 if ($id) 102 106 { 103 107 echo 'done<br/>'; 108 echo '<meta http-equiv="refresh" content="1; URL=?step=4&sub=data" />'; 109 echo 'Automatic reload in 1s for next chunk. <a href="?step=4&sub=data">Manual Link</a><br/>'; 104 110 } 105 111 else 106 112 { 107 113 echo 'error: '.mysql_error().'<br/>'; 114 echo '<meta http-equiv="refresh" content="20; URL=?step=4&sub=data" />'; 115 echo 'Automatic reload in 20s for next chunk because of the error occured. <a href="?step=4&sub=data">Manual Link</a><br/>'; 108 116 } 109 117 $_SESSION['sqlinsert']++; 110 echo '<meta http-equiv="refresh" content="1; URL=?step=4&sub=data" />'; 111 echo 'Automatic reload in 1s for next chunk. <a href="?step=4&sub=data">Manual Link</a><br/>'; 118 112 119 $did = true; 113 120 break 2;