index.php 363 Bytes
<?php
use Yaf\Application;

define('DOMAIN', 'wap.yohobuy.com');
define('APPLICATION_PATH', dirname(__DIR__));
define('ROOT_PATH', dirname(dirname(APPLICATION_PATH)));
defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'production');

$application = new Application(APPLICATION_PATH . '/configs/application.production.ini');
$application->bootstrap()->run();