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

move the temp dir for nextgen out of the www root

parent 84d798dd
Branches
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