check env

This commit is contained in:
cornernote 2015-08-08 04:23:13 +09:30
parent e56db9e1b3
commit 6956bda916

View File

@ -1,5 +1,7 @@
<?php
echo getenv('YII_ENV'); die;
defined('YII_ENV') or define('YII_ENV', getenv('YII_ENV') ? getenv('YII_ENV') : 'dev');
$config = [