Skip to content

Commit 63902d6

Browse files
committed
Update
1 parent 6fe6c75 commit 63902d6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

public/index.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
use archytech99\Core\Controller;
4+
5+
if ( !session_id() ) {
6+
session_start();
7+
}
8+
9+
require_once __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor/autoload.php';
10+
require_once __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'app/helper.php';
11+
require_once __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'app/config.php';
12+
13+
new Controller();

0 commit comments

Comments
 (0)