<?php /** * Description * * @project appbox * @package * @author nickfan<*****@*****.**> * @link http://www.axiong.me * @version $Id$ * @lastmodified: 2014-06-05 14:38 * */ require_once __DIR__ . '/../../../../bootstrap/initenv.php'; use Nickfan\AppBox\Config\BoxRepository; use Nickfan\AppBox\Common\Usercache\ApcBoxUsercache; $instRepository = new BoxRepository($boxapp['path.storage'] . '/conf', new ApcBoxUsercache()); echo $instRepository->getVersion();
<?php /** * Description * * @project appbox * @package * @author nickfan<*****@*****.**> * @link http://www.axiong.me * @version $Id$ * @lastmodified: 2014-06-05 14:38 * */ require_once __DIR__ . '/../../../../bootstrap/initenv.php'; use Nickfan\AppBox\Config\BoxRepository; use Nickfan\AppBox\Common\Usercache\ApcBoxUsercache; $instRepository = new BoxRepository($boxapp['path.storage'] . '/conf', new ApcBoxUsercache()); $timezone = $instRepository->get('app.timezone'); var_dump($timezone); $itemPerPages = $instRepository->get('common.itemPerPages'); var_dump($itemPerPages);