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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


1856 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