Fix: smarty or php templates
This commit is contained in:
parent
194cc07396
commit
6cdae112a8
@ -365,7 +365,8 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (file_exists(DOL_DOCUMENT_ROOT."/theme/".$conf->theme."/templates/login.tpl"))
|
if (file_exists(DOL_DOCUMENT_ROOT."/theme/".$conf->theme."/templates/login.tpl")
|
||||||
|
|| file_exists(DOL_DOCUMENT_ROOT."/theme/".$conf->theme."/templates/login.tpl.php"))
|
||||||
{
|
{
|
||||||
$template_dir=DOL_DOCUMENT_ROOT."/theme/".$conf->theme."/templates/";
|
$template_dir=DOL_DOCUMENT_ROOT."/theme/".$conf->theme."/templates/";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user