mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 02:42:33 +01:00
Add Smartphone class
Fix: mutualized code
This commit is contained in:
@@ -146,7 +146,9 @@ $dol_url_root = DOL_URL_ROOT;
|
||||
// Select templates
|
||||
if (class_exists('Smartphone'))
|
||||
{
|
||||
$template_dir = $smartphone->getTemplateDir();
|
||||
// Template directory
|
||||
$smartphone->getTemplateDir();
|
||||
$template_dir = $smartphone->template_dir;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user