Skip to content

Commit bdadb77

Browse files
committed
Update index.php
1 parent 10d6166 commit bdadb77

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

public/index.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
<?php
22

3-
namespace webfiori;
3+
namespace WebFiori;
44

5-
require __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php';
5+
$DS = DIRECTORY_SEPARATOR;
66

7-
use webfiori\framework\App;
8-
App::initiate('app', 'public', __DIR__);
7+
require __DIR__.$DS.'..'.$DS.'vendor'.$DS.'autoload.php';
8+
9+
use WebFiori\Framework\App;
10+
11+
App::initiate('App', 'public', __DIR__);
912
App::start();
1013
App::handle();

0 commit comments

Comments
 (0)