First, sorry for the title because I confuse how to determine the right title. I'm new in phalcon. I install it and succeed (version 1.3.4). I also install phalcon developer tools. When I run new project using phalcon project tutorial (tutorial is name of the project), it give the right folder. When I open public/index.php the code structure is like this :
<?php
error_reporting(E_ALL);
try {
/**
* Read the configuration
*/
$config = include __DIR__ . "/../app/config/config.php";
/**
* Read auto-loader
*/
include __DIR__ . "/../app/config/loader.php";
/**
* Read services
*/
include __DIR__ . "/../app/config/services.php";
/**
* Handle the request
*/
$application = new \Phalcon\Mvc\Application($di);
echo $application->handle()->getContent();
} catch (\Exception $e) {
echo $e->getMessage();
}
that's different with another phalcon tutorial. Can someone explain this differences? Which one I should follow to try?
Thank you