mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Null coalescing operator can be used
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
parent
4667c92f60
commit
f0d6d30def
27 changed files with 60 additions and 61 deletions
|
@ -10,7 +10,7 @@
|
|||
global $bb_cfg, $page_cfg, $template, $images, $lang;
|
||||
|
||||
$width = $height = array();
|
||||
$template_name = basename(dirname(__FILE__));
|
||||
$template_name = basename(__DIR__);
|
||||
|
||||
$_img = BB_ROOT . 'styles/images/';
|
||||
$_main = BB_ROOT . 'styles/' . basename(TEMPLATES_DIR) . '/' . $template_name . '/images/';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue