Index: branches/REL1_16/phase3/config/Installer.php |
— | — | @@ -1776,7 +1776,11 @@ |
1777 | 1777 | $convert = ($conf->ImageMagick ? $conf->ImageMagick : "/usr/bin/convert" ); |
1778 | 1778 | $rights = ($conf->RightsUrl) ? "" : "# "; |
1779 | 1779 | $hashedUploads = $conf->safeMode ? '' : '# '; |
1780 | | - $sqliteDataDir = escapePhpString( realpath($conf->SQLiteDataDir) ); |
| 1780 | + $dir = realpath( $conf->SQLiteDataDir ); |
| 1781 | + if ( !$dir ) { |
| 1782 | + $dir = $conf->SQLiteDataDir; // dumb realpath sometimes fails |
| 1783 | + } |
| 1784 | + $sqliteDataDir = escapePhpString( $dir ); |
1781 | 1785 | |
1782 | 1786 | if ( $conf->ShellLocale ) { |
1783 | 1787 | $locale = ''; |