Skip to content

Commit a1f999c

Browse files
authored
fix undefined variable, when not in YII_ENV_TEST
see also #62
1 parent d0b40ce commit a1f999c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UrlManager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22
namespace codemix\localeurls;
33

4+
defined('YII2_LOCALEURLS_TEST') || define('YII2_LOCALEURLS_TEST', false);
5+
46
use Yii;
57
use yii\base\InvalidConfigException;
68
use yii\web\Cookie;

0 commit comments

Comments
 (0)