createTables(); $db->close(); echo "
Successfully created the database.
"; # rename this file to avoid setting up the tables twice if ( ! rename(ABSPATH . 'setup.php', ABSPATH . '_setup.php') ) echo "Please remove setup.php from your webserver root directory."; else echo "Renamed this file to '_setup.php'."; exit;