aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Page.pm
diff options
context:
space:
mode:
authormatthew <matthew>2006-10-13 15:37:48 +0000
committermatthew <matthew>2006-10-13 15:37:48 +0000
commit2f5a698b63f3ea3954d6f2edf3bc41ce37239f0c (patch)
tree6e1c36f7291357c1c551194dd8082b9b88d25b24 /perllib/Page.pm
parent8d6b393a26ace8c48598cb2cd020ccdc6bacf60b (diff)
Loading council data into the database; text tweaks.
Diffstat (limited to 'perllib/Page.pm')
-rw-r--r--perllib/Page.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm
index 5938b907d..52b9439e1 100644
--- a/perllib/Page.pm
+++ b/perllib/Page.pm
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: Page.pm,v 1.28 2006-10-10 15:53:05 matthew Exp $
+# $Id: Page.pm,v 1.29 2006-10-13 15:37:49 matthew Exp $
#
package Page;
@@ -18,6 +18,9 @@ use Error qw(:try);
use mySociety::Config;
use mySociety::WatchUpdate;
use mySociety::Web qw(ent NewURL);
+BEGIN {
+ mySociety::Config::set_file("$FindBin::Bin/../conf/general");
+}
sub do_fastcgi {
my $func = shift;
@@ -92,7 +95,7 @@ EOF
$html .= $home ? '</h1>' : '</a></div>';
$html .= '<div id="wrapper"><div id="content">';
if (mySociety::Config::get('STAGING_SITE')) {
- $html .= '<p id="error">This is a developer site, things might break at any time.</p>';
+ $html .= '<p id="error">This is a developer site; things might break at any time, and councils are not sent emails (they\'d get annoyed!).</p>';
}
return $html;
}