Changeset 103
- Timestamp:
- 11/28/06 20:20:08 (16 years ago)
- Location:
- dev
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/kill_export.php
r91 r103 45 45 $ext = $_SESSION['kill_export']['ext']; 46 46 } 47 if (!strstr( $dir, getcwd()))47 if (!strstr(stripslashes($dir), stripslashes(getcwd()))) 48 48 { 49 49 $dir = getcwd().$dir; … … 280 280 elseif ($typ == 'c') 281 281 { 282 $klist->addInvolvedCorp(new Corp ($id));283 $llist->addVictimCorp(new Corp ($id));282 $klist->addInvolvedCorp(new Corporation($id)); 283 $llist->addVictimCorp(new Corporation($id)); 284 284 } 285 285 elseif ($typ == 'p') -
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;