Skip to content
Snippets Groups Projects
Commit af7cc61f authored by Joe's avatar Joe Committed by agata
Browse files

move the temp dir for nextgen out of the www root

parent 47699619
No related branches found
No related tags found
No related merge requests found
......@@ -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
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment