mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r511
Невнимательный.. git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@511 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
ed978bda9b
commit
1202d632a9
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
|||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.5 pre-stable';
|
||||
$bb_cfg['tp_release_date'] = '01-07-2013';
|
||||
$bb_cfg['tp_release_state'] = 'R510';
|
||||
$bb_cfg['tp_release_state'] = 'R511';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
|
|
@ -1550,7 +1550,7 @@ function setup_style ()
|
|||
global $bb_cfg, $template, $userdata;
|
||||
|
||||
// AdminCP works only with default template
|
||||
$tpl_dir_name = defined('IN_ADMIN') ? 'default' : basename((IS_GUEST || empty($userdata['tpl_name'])) ? $bb_cfg['tpl_name'] : $userdata['tpl_name']);
|
||||
$tpl_dir_name = defined('IN_ADMIN') ? 'default' : basename($bb_cfg['tpl_name']);
|
||||
$stylesheet = defined('IN_ADMIN') ? 'main.css' : basename($bb_cfg['stylesheet']);
|
||||
|
||||
if (!IS_GUEST && !empty($userdata['tpl_name']))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue