Permalink
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (27 sloc) 760 Bytes
<?php
/**
* @package CleverStyle Framework
* @subpackage Builder
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @license 0BSD
*/
namespace cs;
use
Phar;
if (!Phar::canWrite()) {
echo "CleverStyle Framework Builder can't work, set, please, \"phar.readonly=off\" option in \"php.ini\"";
return;
}
define('DIR', __DIR__);
require_once DIR.'/build/Builder.php';
require_once DIR.'/core/thirdparty/nazarpc/BananaHTML.php';
require_once DIR.'/core/classes/h/Base.php';
require_once DIR.'/core/classes/h.php';
require_once DIR.'/core/thirdparty/upf.php';
require_once DIR.'/core/functions.php';
date_default_timezone_set('UTC');
if (php_sapi_name() == 'cli') {
require __DIR__.'/build/cli.php';
} else {
require __DIR__.'/build/web.php';
}