[dw-free] Allow raw errors to be shown in beta, without making the site a dev server
[commit: http://hg.dwscoalition.org/dw-free/rev/3db4b56af107]
http://bugs.dwscoalition.org/show_bug.cgi?id=304
Enable raw errors for beta sites.
Patch by
afuna.
http://bugs.dwscoalition.org/show_bug.cgi?id=304
Enable raw errors for beta sites.
Patch by
--------------------------------------------------------------------------------
diff -r 10d5f9809424 -r 3db4b56af107 cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm Fri Feb 20 09:56:57 2009 +0000
+++ b/cgi-bin/LJ/User.pm Fri Feb 20 10:00:14 2009 +0000
@@ -4218,6 +4218,7 @@ sub show_raw_errors {
my $u = shift;
return 1 if $LJ::IS_DEV_SERVER;
+ return 1 if $LJ::ENABLE_BETA_TOOLS;
return 1 if LJ::check_priv($u, "supporthelp");
return 1 if LJ::check_priv($u, "supportviewscreened");
--------------------------------------------------------------------------------
