Wednesday 10 January 2007 3:15:10 am
hi, I try to create a cronjob entension. My extension run in web mode. 'result => OK'. After modify my code source, the function subtree doesn't match. $folderProducteur is a valid value.
// get a variable from the file.
$ini = eZINI::instance( "7hls.ini", getcwd().'/settings/siteaccess/extranet' );
$folderProducteur = $ini->variable( "NodeID", "id_folder_producteur" );
$Childrens = eZContentObjectTreeNode::subTree(false,$folderProducteur);
here, my $Childrens value is null, my extension doesn't create my object. Why is run in web mode but not in cronjob ? thanks for your help.
|