<?php /** * * This file is part of the kernelstudio package. * * For the full copyright and license information, please view the LICENSE file * that was distributed with this source code. * * @author libertyspy < *****@*****.** > * @link http://www.kernelstudio.com * @version 0.1 * @since 0.1 */ set_time_limit(0); require_once __DIR__ . '/wp-loader.php'; require_once __DIR__ . '/../functions.php'; if (!ks_is_localhost()) { die('Access denied !'); } use Bridge\Component\Kernel\Console\Application; $application = new Application(ks_kernel()); $application->run();
/** * Debug mode * * @return boolean * @since 0.1 */ function ks_is_debug() { return ks_kernel()->isDebug(); }