Be more verbose with warnings when we are a dev server.
Patch by kareila.
diffs (11 lines):
diff -r 743bb30f33b8 -r 68afe2e0fef4 cgi-bin/modperl_subs.pl
--- a/cgi-bin/modperl_subs.pl Tue Sep 14 11:32:00 2010 +0800
+++ b/cgi-bin/modperl_subs.pl Tue Sep 14 11:41:09 2010 +0800
@@ -26,6 +26,7 @@ use LJ::Config;
BEGIN {
LJ::Config->load;
+ $^W = 1 if $LJ::IS_DEV_SERVER;
}
use Apache::LiveJournal;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog