<?php

// comment out the following two lines when deployed to production
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');

// ---------------------------------------------------------------
// Shared Yii 2.0.54 framework — loaded from /LMS/framework/
// ---------------------------------------------------------------
//echo dirname(__DIR__) . '\LMS/framework';exit;
$frameworkPath = dirname(__DIR__,1) . '/LMS/framework';

require $frameworkPath . '/vendor/autoload.php';
require $frameworkPath . '/vendor/yiisoft/yii2/Yii.php';

// App-specific vendor (extensions like gii, debug, etc.)
require __DIR__ . '/vendor/autoload.php';

$config = require __DIR__ . '/config/web.php';

(new yii\web\Application($config))->run();
