One-time use variables.

This commit is contained in:
Yuriy Pikhtarev 2017-05-05 00:53:16 +03:00
commit 95575e1096
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
3 changed files with 4 additions and 12 deletions

View file

@ -1442,9 +1442,7 @@ function setup_style()
require TEMPLATES_DIR . '/' . $tpl_dir_name . '/tpl_config.php';
$theme = array('template_name' => $tpl_dir_name);
return $theme;
return array('template_name' => $tpl_dir_name);
}
// Create date / time with format and friendly date