コード例 #1
0
ファイル: avrsapi.php プロジェクト: PaulJulio/avrs-php-api
 public function getURL()
 {
     return Settings::get($this->environment . '/domain') . $this->url;
 }
コード例 #2
0
ファイル: bootstrap.php プロジェクト: PaulJulio/avrs-php-api
<?php

/**
 * The bootstrap.php file is included by all loaders. External dependencies and other startup logic
 * should be handled here.
 */
$defaulttz = ini_get('date.timezone');
if ($defaulttz === '') {
    $tz = \util\Settings::get('global/timezone');
    if ($tz === null) {
        $tz = 'America/Los_Angeles';
    }
    date_default_timezone_set($tz);
}