Skip to content

Commit 0c0ef31

Browse files
authored
Update index.php
1 parent 307c0eb commit 0c0ef31

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

public/index.php

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

3+
use Phalcon\Db\Adapter\Pdo\Mysql as DbAdapter;
4+
use Phalcon\Di\FactoryDefault;
35
use Phalcon\Loader;
4-
use Phalcon\Mvc\View;
56
use Phalcon\Mvc\Application;
6-
use Phalcon\Di\FactoryDefault;
77
use Phalcon\Mvc\Url as UrlProvider;
8-
use Phalcon\Db\Adapter\Pdo\Mysql as DbAdapter;
8+
use Phalcon\Mvc\View;
99

1010
define('BASE_PATH', dirname(__DIR__));
1111
define('APP_PATH', BASE_PATH . '/app');
@@ -31,7 +31,7 @@
3131

3232
// Setup a base URI so that all generated URIs include the "tutorial" folder
3333
$di['url'] = function() {
34-
$url = new Url();
34+
$url = new UrlProvider();
3535
$url->setBaseUri('/');
3636
return $url;
3737
};

0 commit comments

Comments
 (0)