Правки namespace
This commit is contained in:
parent
ee06f1febb
commit
524b27936a
39 changed files with 141 additions and 120 deletions
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
namespace ctiso;
|
||||
use PHPTAL_Php_TalesInternal,
|
||||
ctiso\Controller\Site,
|
||||
App\Controller\Site,
|
||||
ctiso\Controller\Component,
|
||||
ctiso\HttpRequest,
|
||||
PHPTAL_Tales,
|
||||
|
|
@ -48,7 +48,7 @@ class Tales {
|
|||
*/
|
||||
static function phptal_component ($expression) {
|
||||
$begin = floatval(microtime(true));
|
||||
/*.Controller_Component.*/$component = null;
|
||||
/*.Component.*/$component = null;
|
||||
|
||||
if (class_exists("ctiso\\Controller\\Site")) { //Если мы в CMS2
|
||||
$component = Site::loadComponent($expression);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue