mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	YII_DEBUG всегда получалось true
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
<?php
 | 
			
		||||
require __DIR__ . '/../../vendor/autoload.php';
 | 
			
		||||
 | 
			
		||||
defined('YII_DEBUG') or define('YII_DEBUG', (boolean)getenv('YII_DEBUG'));
 | 
			
		||||
defined('YII_DEBUG') or define('YII_DEBUG', in_array(getenv('YII_DEBUG'), ['false', '1']));
 | 
			
		||||
defined('YII_ENV') or define('YII_ENV', getenv('YII_ENV'));
 | 
			
		||||
 | 
			
		||||
require __DIR__ . '/../../vendor/yiisoft/yii2/Yii.php';
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user