Add Smartphone class
Fix: mutualized code
This commit is contained in:
parent
38d2583e8d
commit
97ca7bdfab
@ -146,7 +146,9 @@ $dol_url_root = DOL_URL_ROOT;
|
|||||||
// Select templates
|
// Select templates
|
||||||
if (class_exists('Smartphone'))
|
if (class_exists('Smartphone'))
|
||||||
{
|
{
|
||||||
$template_dir = $smartphone->getTemplateDir();
|
// Template directory
|
||||||
|
$smartphone->getTemplateDir();
|
||||||
|
$template_dir = $smartphone->template_dir;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user