Skip to content

Commit

Permalink
Merge pull request #8 from SidRoberts/patch-1
Browse files Browse the repository at this point in the history
Updated index.php to reflect documentation
  • Loading branch information
ninjapanzer authored Aug 13, 2017
2 parents 628f785 + 0c0ef31 commit 8008230
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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\Url;
use Phalcon\Mvc\View;
use Phalcon\Mvc\Application;
use Phalcon\DI\FactoryDefault;
use Phalcon\Db\Adapter\Pdo\Mysql as DbAdapter;
use Phalcon\Mvc\Url as UrlProvider;
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 8008230

Please sign in to comment.