Skip to content

Commit

Permalink
opt index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheron committed Jan 11, 2019
1 parent 7fd461e commit f4662ef
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions project-files/index.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
<?php
use \Ubiquity\controllers\Startup;
error_reporting(E_ALL);

define('DS', DIRECTORY_SEPARATOR);
define('ROOT', realpath('app').DS);

define('ROOT', __DIR__.DS.'app'.DS);
$config=include_once ROOT.'config/config.php';

require_once ROOT.'./../vendor/autoload.php';

require_once ROOT.'config/services.php';
Startup::run($config,$_GET["c"]);
\Ubiquity\controllers\Startup::run($config,$_GET["c"]);

0 comments on commit f4662ef

Please sign in to comment.