예제 #1
0
파일: index.php 프로젝트: hduwzy/test
<?php

require_once __DIR__ . '/vendor/autoload.php';
use flight\Flight;
Flight::set('app.name', 'sqldoc');
Flight::set('app.root', dirname(__FILE__));
Flight::set('flight.views.path', Flight::get('app.root') . "/views");
require Flight::get('app.root') . '/sysext/extend.php';
Flight::start();
?>


예제 #2
0
파일: sys.php 프로젝트: hduwzy/test
<?php

use flight\Flight;
return array('maxprocess' => 5, 'localhost' => '0.0.0.0', 'localport' => '7788', 'phpexe' => '/usr/bin/php', 'rpc_logpath' => Flight::get('app.root') . "/data/rpclog/");