We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d6166 commit bdadb77Copy full SHA for bdadb77
1 file changed
public/index.php
@@ -1,10 +1,13 @@
1
<?php
2
3
-namespace webfiori;
+namespace WebFiori;
4
5
-require __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php';
+$DS = DIRECTORY_SEPARATOR;
6
7
-use webfiori\framework\App;
8
-App::initiate('app', 'public', __DIR__);
+require __DIR__.$DS.'..'.$DS.'vendor'.$DS.'autoload.php';
+
9
+use WebFiori\Framework\App;
10
11
+App::initiate('App', 'public', __DIR__);
12
App::start();
13
App::handle();
0 commit comments