11 lines
171 B
PHP
Executable file
11 lines
171 B
PHP
Executable file
<?php
|
|
|
|
require(__DIR__ . "/../libs/test_secret.php");
|
|
|
|
global $db;
|
|
|
|
$sql = file_get_contents('../scripts/init.sql', true);
|
|
|
|
$db->exec($sql);
|
|
|
|
echo "Database was set up.";
|