mirror of
https://github.com/YGGverse/Pulsar.git
synced 2026-03-31 17:55:37 +00:00
enshort construction
This commit is contained in:
parent
cb9b0dd1d3
commit
a4a34c8ad1
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ require_once __DIR__ .
|
||||||
DIRECTORY_SEPARATOR . 'autoload.php';
|
DIRECTORY_SEPARATOR . 'autoload.php';
|
||||||
|
|
||||||
// Init profile argument
|
// Init profile argument
|
||||||
if (empty($argv[1])) throw new \Exception();
|
if (empty($argv[1])) throw new \Exception;
|
||||||
|
|
||||||
// Init config
|
// Init config
|
||||||
$config = json_decode(
|
$config = json_decode(
|
||||||
|
|
@ -30,7 +30,7 @@ $config = json_decode(
|
||||||
DIRECTORY_SEPARATOR . 'config'.
|
DIRECTORY_SEPARATOR . 'config'.
|
||||||
DIRECTORY_SEPARATOR . $argv[1]
|
DIRECTORY_SEPARATOR . $argv[1]
|
||||||
)
|
)
|
||||||
); if (!$config) throw new \Exception();
|
); if (!$config) throw new \Exception;
|
||||||
|
|
||||||
// Init database
|
// Init database
|
||||||
$database = new \Yggverse\Pulsar\Model\Database(
|
$database = new \Yggverse\Pulsar\Model\Database(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue