- no use of "realpath" function anymore : this function is too often buggy

and returns nothing (crash of template system as consequence...). The use
  of this function was not essential


git-svn-id: http://piwigo.org/svn/trunk@749 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2005-03-12 10:51:08 +00:00
parent e0c0632796
commit 13b6729e4f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ class Template {
// Check if it's an absolute or relative path.
if (substr($filename, 0, 1) != '/')
{
$filename = realpath($this->root . '/' . $filename);
$filename = $this->root.'/'.$filename;
}
if (!file_exists($filename))