jidaikobo-shibata/a11yc

View on GitHub
libs/kontiki/main.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Kontiki
 *
 * @package    part of Kontiki
 * @author     Jidaikobo Inc.
 * @license    The MIT License (MIT)
 * @copyright  Jidaikobo Inc.
 * @link       http://www.jidaikobo.com
 */
namespace Kontiki;

// KONTIKI_PATH
define('KONTIKI_PATH', __DIR__);

// mb_internal_encoding()
mb_internal_encoding('UTF-8');

// Autoloader
include_once KONTIKI_PATH.'/classes/Autoloader.php';
Autoloader::addPath(KONTIKI_PATH.'/classes/', 'Kontiki');

// performance
Performance::setBegTime();
Performance::setBegMemory();

// constants
defined('KONTIKI_DEFAULT_LANG') or Util::error('set KONTIKI_DEFAULT_LANG');
defined('KONTIKI_DEFAULT_TIMZONE') or Util::error('set KONTIKI_DEFAULT_TIMZONE');

// timezone
date_default_timezone_set(KONTIKI_DEFAULT_TIMZONE);