mirror of
https://github.com/cgsmith/yii2-user.git
synced 2026-09-20 00:11:34 -05:00
RBAC and social controller
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
||||
defined('YII_ENV') or define('YII_ENV', 'test');
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
require_once __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';
|
||||
|
||||
Yii::setAlias('@cgsmith/user', dirname(__DIR__) . '/src');
|
||||
Yii::setAlias('@tests', __DIR__);
|
||||
Reference in New Issue
Block a user