summaryrefslogtreecommitdiffstats
path: root/src/php-gettext/examples/pigs_fallback.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-04-06 19:13:19 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-04-06 19:13:19 +0200
commit7379805565815c576723b888a20af080248222da (patch)
tree498c98e8b6c43c2729349b7680c6a20efcfb98f3 /src/php-gettext/examples/pigs_fallback.php
parent1e3cd8bf6ee636a5af692b57906612d6109849cb (diff)
parent12c77161aca2c7d76fa5154fa1f4e214106d834b (diff)
downloadSemanticScuttle-origin/quickform.zip
SemanticScuttle-origin/quickform.tar.gz
SemanticScuttle-origin/quickform.tar.bz2
Merge branch 'master' into quickformorigin/quickform
Conflicts: data/templates/bookmarks.tpl.php data/templates/sidebar.block.search.php data/templates/top.inc.php doc/developers/TODO src/SemanticScuttle/header.php
Diffstat (limited to 'src/php-gettext/examples/pigs_fallback.php')
-rw-r--r--src/php-gettext/examples/pigs_fallback.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/php-gettext/examples/pigs_fallback.php b/src/php-gettext/examples/pigs_fallback.php
index b50f752..353190d 100644
--- a/src/php-gettext/examples/pigs_fallback.php
+++ b/src/php-gettext/examples/pigs_fallback.php
@@ -1,6 +1,6 @@
<?php
/*
- Copyright (c) 2003,2004,2005 Danilo Segan <danilo@kvota.net>.
+ Copyright (c) 2003,2004,2005,2009 Danilo Segan <danilo@kvota.net>.
Copyright (c) 2005,2006 Steven Armstrong <sa@c-area.ch>
This file is part of PHP-gettext.
@@ -21,10 +21,12 @@
*/
+error_reporting(E_ALL | E_STRICT);
+
// define constants
-define(PROJECT_DIR, realpath('./'));
-define(LOCALE_DIR, PROJECT_DIR .'/locale');
-define(DEFAULT_LOCALE, 'en_US');
+define('PROJECT_DIR', realpath('./'));
+define('LOCALE_DIR', PROJECT_DIR .'/locale');
+define('DEFAULT_LOCALE', 'en_US');
require_once('../gettext.inc');