15
Updates:
i've tried with this code,as you suggested
error_reporting(E_ALL); #*#DEBUG#
include '../../mainfile.php';
include_once XOOPS_ROOT_PATH . '/header.php';
var_dump('xoopsModuleConfig', $xoopsModuleConfig); #*#DEBUG#
echo '
';
$fck_uploads_dir = $xoopsModuleConfig['fck_uploads_dir'];
echo 'I am $fck_uploads_dir, the uploads directory!!!';
include_once XOOPS_ROOT_PATH . '/footer.php';
?>
but had this result (the variable doesn't get the value):
string(17) "xoopsModuleConfig" array(2) { ["fck_uploads_dir"]=> string(7) "uploads" ["fck_all_ext_files"]=> string(91) ""zip","doc","xls","pdf","rtf","csv","jpg","gif","jpeg","png","avi","mpg","mpeg","swf","fla"" }
I am $fck_uploads_dir, the uploads directory!!!
I've also tried to place this file (testconfig.php9 into the root of "news" module (replacing fck_uploads_dir with one of the news config options,of course) and had the same result.
What else can i try?