function prep_DB_content() { global $databaseConnection; $admin_role_id = 1; create_tables($databaseConnection); create_roles($databaseConnection, $admin_role_id); create_admin($databaseConnection, $admin_role_id); }
function prep_DB_content() { global $db; $admin_role_id = 1; create_tables($db); create_roles($db, $admin_role_id); create_admin($db, $admin_role_id); }
function setup_db() { global $install; $install->title("Website Installation - Setup Database"); echo '<div class="row">'; echo '<div class="col-sm-12">'; create_tables(); create_roles(); create_admin(); install_finalise(); echo '</div>'; echo '</div>'; }