mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-23 22:55:46 -07:00
__DIR__ constant can be used.
This commit is contained in:
parent
d9d299e88e
commit
c79466e48f
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
global $bb_cfg, $page_cfg, $template, $images, $lang;
|
global $bb_cfg, $page_cfg, $template, $images, $lang;
|
||||||
|
|
||||||
$width = $height = array();
|
$width = $height = array();
|
||||||
$template_name = basename(dirname(__FILE__));
|
$template_name = basename(__DIR__);
|
||||||
|
|
||||||
$_img = BB_ROOT . 'styles/images/';
|
$_img = BB_ROOT . 'styles/images/';
|
||||||
$_main = BB_ROOT . 'styles/' . basename(TEMPLATES_DIR) . '/' . $template_name . '/images/';
|
$_main = BB_ROOT . 'styles/' . basename(TEMPLATES_DIR) . '/' . $template_name . '/images/';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue