From edfc3e910c7e8927dff1db684af91bf34b589af0 Mon Sep 17 00:00:00 2001 From: gloas <gloas@git-test.afi-sa.fr> Date: Thu, 22 Aug 2013 16:00:04 +0000 Subject: [PATCH] si profil est en mode mobile, charge les templates de opac/mobile/templates --- library/Class/Profil.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/Class/Profil.php b/library/Class/Profil.php index a136367e752..12d7cd30795 100644 --- a/library/Class/Profil.php +++ b/library/Class/Profil.php @@ -369,6 +369,9 @@ class Class_Profil extends Storm_Model_Abstract { * @return string */ public function getPathTemplates() { + xdebug_break(); + if($this->isTelephone()) + return './public/opac/mobile/templates/'; return '.'.$this->getPathTheme().'templates/'; } -- GitLab