mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
30 lines
677 B
PHP
30 lines
677 B
PHP
<?php
|
|
|
|
if (!defined('AOWOW_REVISION'))
|
|
die('illegal access');
|
|
|
|
|
|
class ProfilerPage extends GenericPage
|
|
{
|
|
protected $path = [1, 5];
|
|
protected $tabId = 1;
|
|
protected $tpl = 'profiler';
|
|
protected $gDataKey = true;
|
|
protected $js = ['profile_all.js', 'profile.js'];
|
|
protected $css = [['path' => 'Profiler.css']];
|
|
|
|
protected function generateContent()
|
|
{
|
|
$this->addJS('?data=realms&locale='.User::$localeId.'&t='.$_SESSION['dataKey']);
|
|
}
|
|
|
|
protected function generatePath() { }
|
|
|
|
protected function generateTitle()
|
|
{
|
|
array_unshift($this->title, Util::ucFirst(Lang::main('_cpHead')));
|
|
}
|
|
}
|
|
|
|
?>
|