2010-01-08 22:01:40 +02:00
|
|
|
|
<?php
|
|
|
|
|
/*-------------------------------------------------------
|
|
|
|
|
*
|
|
|
|
|
* LiveStreet Engine Social Networking
|
|
|
|
|
* Copyright © 2008 Mzhelskiy Maxim
|
|
|
|
|
*
|
|
|
|
|
*--------------------------------------------------------
|
|
|
|
|
*
|
|
|
|
|
* Official site: www.livestreet.ru
|
|
|
|
|
* Contact e-mail: rus.engine@gmail.com
|
|
|
|
|
*
|
|
|
|
|
* GNU General Public License, version 2:
|
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
|
*
|
|
|
|
|
---------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
class PluginProfiler extends Plugin {
|
|
|
|
|
/**
|
|
|
|
|
* Активация плагина Профайлер.
|
|
|
|
|
* Создание таблицы в базе данных при ее отсутствии.
|
|
|
|
|
*/
|
|
|
|
|
public function Activate() {
|
|
|
|
|
$this->ExportSQL(dirname(__FILE__).'/sql.sql');
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2010-01-10 16:26:44 +02:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Инициализация плагина Profiler
|
|
|
|
|
*/
|
|
|
|
|
public function Init() {
|
|
|
|
|
}
|
2010-01-08 22:01:40 +02:00
|
|
|
|
}
|
|
|
|
|
?>
|