Skip to content

Commit

Permalink
💦 update: Common.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kyaaaa-alt committed Sep 29, 2022
1 parent d23fcb2 commit 8776538
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/Conf/Kyaaaa/Common.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<?php
$getConf = new \Core\Conf\App();

date_default_timezone_set($getConf->app_timezone());
$handler = new \Core\Conf\Kyaaaa\Handler\Run();
if ($getConf->environment() == 'development') {
$handler->pushHandler(new \Core\Conf\Kyaaaa\Handler\Handler\KyaaaaDevelopmentHandler());
} else {
$handler->pushHandler(new \Core\Conf\Kyaaaa\Handler\Handler\KyaaaaProductionHandler());
}
$handler->register();

$getConf->session();

define('PUBLIC_PATH', $_SERVER['DOCUMENT_ROOT']);
Expand Down

0 comments on commit 8776538

Please sign in to comment.