aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/setup/create_tables.php
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/setup/create_tables.php')
-rw-r--r--ratatoeskr/setup/create_tables.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/ratatoeskr/setup/create_tables.php b/ratatoeskr/setup/create_tables.php
index ef226d8..b0c2075 100644
--- a/ratatoeskr/setup/create_tables.php
+++ b/ratatoeskr/setup/create_tables.php
@@ -1,7 +1,7 @@
<?php
if(!defined("SETUP"))
- die();
+ die();
require_once(dirname(__FILE__) . "/../sys/db.php");
@@ -166,16 +166,16 @@ SQL;
function create_mysql_tables()
{
- global $sql_tables;
-
- $queries = explode(";", $sql_tables);
- foreach($queries as $q)
- {
- if(!empty($q))
- qdb($q);
- }
-
- qdb("INSERT INTO `PREFIX_meta` (`key`, `value`) VALUES ('dbversion', ?)", base64_encode(serialize(1)));
+ global $sql_tables;
+
+ $queries = explode(";", $sql_tables);
+ foreach($queries as $q)
+ {
+ if(!empty($q))
+ qdb($q);
+ }
+
+ qdb("INSERT INTO `PREFIX_meta` (`key`, `value`) VALUES ('dbversion', ?)", base64_encode(serialize(1)));
}
?>