we I visit the local site Stores,there comes out a error:
Fatal error: Class 'Stores\Frontend\Controllers\Phalcon\Tag' not found in E:\wamp\www\stores\apps\frontend\controllers\IndexController.php on line 10
Call Stack
# Time Memory Function Location
1 0.0010 146304 {main}( ) ..\index.php:0
2 0.0020 157552 handle ( ) ..\index.php:29
3 0.0040 197560 Stores\Frontend\Controllers\IndexController->initialize( ) ..\index.php:0
IndexController.php
<?php
namespace Stores\Frontend\Controllers;
class IndexController extends ControllerBase
{
public function initialize()
{
$this->view->setTemplateAfter('main');
Phalcon\Tag::setTitle('Welcome');
parent::initialize();
}
public function indexAction()
{
}
}
While invo project run the same code is ok.