Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjapanzer authored Aug 13, 2017
1 parent 307c0eb commit 0c0ef31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/index.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

use Phalcon\Db\Adapter\Pdo\Mysql as DbAdapter;
use Phalcon\Di\FactoryDefault;
use Phalcon\Loader;
use Phalcon\Mvc\View;
use Phalcon\Mvc\Application;
use Phalcon\Di\FactoryDefault;
use Phalcon\Mvc\Url as UrlProvider;
use Phalcon\Db\Adapter\Pdo\Mysql as DbAdapter;
use Phalcon\Mvc\View;

define('BASE_PATH', dirname(__DIR__));
define('APP_PATH', BASE_PATH . '/app');
Expand All @@ -31,7 +31,7 @@

// Setup a base URI so that all generated URIs include the "tutorial" folder
$di['url'] = function() {
$url = new Url();
$url = new UrlProvider();
$url->setBaseUri('/');
return $url;
};
Expand Down

0 comments on commit 0c0ef31

Please sign in to comment.