KevinM
05-29-2004, 06:47 AM
I am partway through writing an attachment hack, but I have got stuck on something probably (hopefully) quite simple.
I need to access details in the datastore, but I can't seem to find the correct terms.
The info I wish to use in my page is
$attachtypes = unserialize($datastore['attachmentcache']);
but I am unsure as to what statements preceed this to allow this to work. E.g. I have tried
$specialtemplates = array(
'attachmentcache'
);
without success. I've tried including global.php as well.
All help appreciated.
I need to access details in the datastore, but I can't seem to find the correct terms.
The info I wish to use in my page is
$attachtypes = unserialize($datastore['attachmentcache']);
but I am unsure as to what statements preceed this to allow this to work. E.g. I have tried
$specialtemplates = array(
'attachmentcache'
);
without success. I've tried including global.php as well.
All help appreciated.