Поправил типы
This commit is contained in:
parent
f3adc4550d
commit
db7b5c7d25
3 changed files with 4 additions and 3 deletions
|
|
@ -45,7 +45,8 @@ function phptal_time ($e)
|
|||
* Функция подключения компонента
|
||||
*/
|
||||
function phptal_component ($expression) {
|
||||
$begin = microtime(true);
|
||||
$begin = floatval(microtime(true));
|
||||
/*.Controller_Component.*/$component = null;
|
||||
|
||||
if(class_exists("Controller_Site")){ //Если мы в CMS2
|
||||
$component = Controller_Site::loadComponent($expression);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue