diff --git a/wp-content/plugins/nextgen-gallery/admin/functions.php b/wp-content/plugins/nextgen-gallery/admin/functions.php index a2897dd2ecdceb54d18a7195526fdc7de84c86ed..6273573f57dd7d80a40e7ad3299e89b7b15d6664 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/www/wp-content/tmp/'); +define('NEXTGEN_TMP_FILES', '/opt/noblogs/tmp/nextgen'); /** * nggAdmin - Class for admin operation *