diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-04-26 16:33:36 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-04-26 16:33:36 +0200 |
commit | 82d40e32363c4e96996eca7ee44ade879589aa0e (patch) | |
tree | 44c819d2472697de1e8eb404148f4a087109b27e /ratatoeskr/setup/create_tables.php | |
parent | 11c7214cb58be4100422b8f905bc629a8906e6ff (diff) | |
download | ratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.tar.gz ratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.tar.bz2 ratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.zip |
Expand tabs and remove trailing whitespace
Diffstat (limited to 'ratatoeskr/setup/create_tables.php')
-rw-r--r-- | ratatoeskr/setup/create_tables.php | 22 |
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))); } ?> |