Show
Ignore:
Timestamp:
07/07/10 13:17:06 (19 months ago)
Author:
ort
Message:

fix template, plugin profiler, install

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/profiler/classes/hooks/HookProfiler.class.php

    r926 r953  
    2626         * Хук для вставки HTML кода 
    2727         */ 
    28         $this->AddHook('template_body_end', 'Profiler'); 
     28        if ($oUserCurrent=$this->User_GetUserCurrent() and $oUserCurrent->isAdministrator()) { 
     29                $this->AddHook('template_body_end', 'Profiler'); 
     30        } 
    2931    } 
    3032