-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
23 lines (18 loc) · 842 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/***********************************************************************
# * @Project : WT FrameWork
# * @version : 0.1
# * @author : Mogbil Sourketti info[@]wondtech.com
# * @copyright : 2020 WondTech for Integrated Digital Solutions
# * @link : http://www.wondtech.com
# * @package : WT FrameWork (0.1)
# ************************************************************************/
namespace WT;
use WT\LIBS\Wt_Front;
if (session_status() !== PHP_SESSION_ACTIVE){session_start();}
if(!defined('DS'))define('DS', DIRECTORY_SEPARATOR);
require_once 'wt' . DS . 'libs' . DS . 'wt_config.php';
require_once 'wt' . DS . 'libs' . DS . 'wt_auto.php';
require_once 'wt' . DS . 'smarty' . DS . 'auto.php';
\Smarty_Autoloader::register();
(new Wt_Front())->dispatch();