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.

Archive /

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

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

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


Reply


1004 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