diff options
author | plegall <plg@piwigo.org> | 2005-03-12 10:51:08 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-03-12 10:51:08 +0000 |
commit | 13b6729e4f76e2a7854936000c8ed330271686f0 (patch) | |
tree | 127cb1648d9af9977748bf390c838f21fbe7f470 /install.php | |
parent | e0c063279610aa595079353c01fdc6a734ef9597 (diff) |
- 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
Diffstat (limited to '')
-rw-r--r-- | install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php index 779fe279f..686a860e2 100644 --- a/install.php +++ b/install.php @@ -199,7 +199,7 @@ else $language = guess_lang(); } -if ( !file_exists(@realpath(PHPWG_ROOT_PATH . 'language/' . $language . '/install.lang.php')) ) +if (!file_exists(PHPWG_ROOT_PATH.'language/'.$language.'/install.lang.php')) { $language = 'en_UK.iso-8859-1'; } |