Topic: Constants in config
So, i am in the config.php from the imagemanager folder, in that folder i've included the config from my custom MVC framework in which there are just a few defined constants, one of them is BASE_PATH.
I've done this:
$mcImageManagerConfig['filesystem.path'] = BASE_PATH;
$mcImageManagerConfig['filesystem.rootpath'] = BASE_PATH . "apps/";
and i get this in the LOG
2012-03-28 20:02:38 - Configured root: D:/Wamp/www/henk/apps/admin_test2/template/js/tiny_mce/plugins/imagemanager/BASE_PATHapps could not be found.
if add:
var_dump(BASE_PATH);
exit();
before:
$mcImageManagerConfig['filesystem.path'] = BASE_PATH;
when i click the imageupload button in tinymvc, it shows the dialog, and this:
string 'D:/Wamp/www/henk/' (length=17)
so the constant is defined, now, WHAT THE HELL IS HAPPENING?!
LE: if i define the constant in the same file it works fine
PS: no errors,warnings, notices, NOTHING
Last edited by geo.ariton (2012-03-29 11:57:05)