[opencms-dev] Changing projects in code

M Butcher mbutcher at grcomputing.net
Fri Jul 11 09:26:01 CEST 2003


Okay, I have a piece code that should only be run in the online project
so that it doesn't grab content that hasn't yet been published. 

How can I find out if the current project is the online project, and
(more importantly) switch so that it is the current project.

Mainly, I want to make sure that a class that gets started from the cron
interface can read a couple of files from the online interface and
collect information about them.

Thanks,

Matt


-- 
M Butcher <mbutcher at grcomputing.net>



More information about the opencms-dev mailing list