Skip to content
Snippets Groups Projects
Commit 6cdae112 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: smarty or php templates

parent 194cc073
No related branches found
No related tags found
No related merge requests found
...@@ -365,7 +365,8 @@ function dol_loginfunction($langs,$conf,$mysoc) ...@@ -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/";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment