upgrade.php
changeset 74 68469a95658d
parent 73 0a74676a2f2f
child 88 9e303b7e95c2
equal deleted inserted replaced
73:0a74676a2f2f 74:68469a95658d
   703             @call_user_func($function);
   703             @call_user_func($function);
   704           }
   704           }
   705         }
   705         }
   706       }
   706       }
   707       
   707       
       
   708       // Log the upgrade
       
   709       $q = $db->sql_query('INSERT INTO '.table_prefix.'logs(log_type,action,time_id,date_string,author,page_text,edit_summary) VALUES(\'security\', \'upgrade_enano\', ' . time() . ', \'' . date('d M Y h:i a') . '\', \'' . mysql_real_escape_string($session->username) . '\', \'' . mysql_real_escape_string($this_version) . '\', \'' . mysql_real_escape_string($_SERVER['REMOTE_ADDR']) . '\');');
       
   710       
   708       echo 'done!</p>';
   711       echo 'done!</p>';
   709       echo '<p>You will be redirected shortly. If you aren\'t redirected, <a href="index.php">click here</a>.</p>
   712       echo '<p>You will be redirected shortly. If you aren\'t redirected, <a href="index.php">click here</a>.</p>
   710             <script type="text/javascript">setTimeout("window.location=\'index.php\'", 2000)</script>';
   713             <script type="text/javascript">setTimeout("window.location=\'index.php\'", 2000)</script>';
   711     break;
   714     break;
   712 }
   715 }