Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Latest DailyBuild seems to not impliment set_environment_type("test")


Go to End


1420 Views

Avatar
a-tech

Community Member, 39 Posts

27 October 2008 at 6:07pm

Hey there,

I installed the daily build 'silverstripe.2.0.DailyBuild.2008-10-23' so I could make use of the new ModelAdmin stuff described in the docowiki.

Since then, the usual http auth protection provided to the site by

Director::set_environment_type("test"); 

in _config.php does not seem to work, in fact the site is plainly viewable at the moment and I need to fix this asap.

Does anyone have any ideas, I have got really far doing stuff with the ModelAdmin and would hate to have to revert back to v2.2 just because of this.

Thanks

Andrew