From 840ab47a9d0a828f5b5561b03fed84d78e338019 Mon Sep 17 00:00:00 2001 From: root <root@rivolta.investici.org> Date: Sat, 4 Jun 2011 17:29:52 +0000 Subject: [PATCH] Modifica path temporanea next gen gallery --- wp-content/plugins/nextgen-gallery/admin/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/plugins/nextgen-gallery/admin/functions.php b/wp-content/plugins/nextgen-gallery/admin/functions.php index 4f21872d3..a2897dd2e 100644 --- a/wp-content/plugins/nextgen-gallery/admin/functions.php +++ b/wp-content/plugins/nextgen-gallery/admin/functions.php @@ -2,7 +2,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You are not allowed to call this page directly.'); } // Temporary file reservoir, which should exist and be property of www-data. Needed to bypass open_basedir -define('NEXTGEN_TMP_FILES', '/opt/noblogs/tmp/'); +define('NEXTGEN_TMP_FILES', '/opt/noblogs/www/wp-content/tmp/'); /** * nggAdmin - Class for admin operation * -- GitLab