From 66e86ba1cfa9a0487e79806a50d053c30e923bb4 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Thu, 12 Apr 2012 13:40:17 +0200 Subject: [PATCH] fix wrong parentheses --- include/functions_installer.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_installer.inc.php b/include/functions_installer.inc.php index 02d40622..d7e55fe7 100644 --- a/include/functions_installer.inc.php +++ b/include/functions_installer.inc.php @@ -203,7 +203,7 @@ function serendipity_query_default($optname, $default, $usertemplate = false, $t $test_path2 = serendipity_getRealDir(__FILE__); if (!empty($_SERVER['ORIG_PATH_TRANSLATED']) && file_exists(dirname($_SERVER['ORIG_PATH_TRANSLATED']) . '/serendipity_admin.php')) { - return realpath(rtrim(dirname($_SERVER['ORIG_PATH_TRANSLATED'], '/'))) . '/'; + return realpath(rtrim(dirname($_SERVER['ORIG_PATH_TRANSLATED']), '/')) . '/'; } if (file_exists($test_path1 . 'serendipity_admin.php')) {