X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FRender%2FFriendicaSmarty.php;h=13ff6234e26dbdd754b99c1482d893228e1f5f86;hb=38cf0666bd7a6537a5a6af19b5bd6073ef12e82f;hp=50282c38ebaad62c425d4a2f43249cdb7f483e8e;hpb=809beeee9d0baf8d44eb92bca73f1360e5c8728f;p=friendica.git diff --git a/src/Render/FriendicaSmarty.php b/src/Render/FriendicaSmarty.php index 50282c38eb..13ff6234e2 100644 --- a/src/Render/FriendicaSmarty.php +++ b/src/Render/FriendicaSmarty.php @@ -33,7 +33,7 @@ class FriendicaSmarty extends Smarty public $filename; - public function __construct(string $theme, array $theme_info, string $work_dir) + public function __construct(string $theme, array $theme_info, string $work_dir, bool $use_sub_dirs) { parent::__construct(); @@ -64,7 +64,7 @@ class FriendicaSmarty extends Smarty * RAM available + have enabled caching inode tables (aka. * "descriptors"). Still it won't hurt you. */ - $this->setUseSubDirs(true); + $this->setUseSubDirs($use_sub_dirs); $this->left_delimiter = Renderer::getTemplateLeftDelimiter(); $this->right_delimiter = Renderer::getTemplateRightDelimiter();