Add Smartphone class

Fix: mutualized code
This commit is contained in:
Regis Houssin 2010-09-22 08:52:48 +00:00
parent 38d2583e8d
commit 97ca7bdfab

View File

@ -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
{