[ Index ] |
|
Code source de CMS made simple 1.0.5 |
1 <?php 2 3 /* 4 #No point in even creating this table if we're going to drop it in 21-22. 5 echo "<p>Adding Event Handler Table(s)..."; 6 7 8 $dbdict = NewDataDictionary($db); 9 $flds = " 10 module_name c(255) KEY, 11 event_name c(80) KEY, 12 handler_name c(255) 13 "; 14 $taboptarray = array('mysql' => 'TYPE=MyISAM'); 15 $sqlarray = $dbdict->CreateTableSQL(cms_db_prefix()."eventhandlers", $flds, $taboptarray); 16 $dbdict->ExecuteSQLArray($sqlarray); 17 18 echo "[done]</p>"; 19 */ 20 21 echo '<p>Updating schema version... '; 22 23 $query = "UPDATE ".cms_db_prefix()."version SET version = 20"; 24 $db->Execute($query); 25 26 echo '[done]</p>'; 27 28 # vim:ts=4 sw=4 noet 29 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Tue Apr 3 18:50:37 2007 | par Balluche grâce à PHPXref 0.7 |