aboutsummaryrefslogtreecommitdiff
path: root/src/php-gettext/examples/pigs_fallback.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2010-09-28 08:53:03 +0200
committerChristian Weiske <cweiske@cweiske.de>2010-09-28 08:53:03 +0200
commit8da16ca4a6faae17c896919c31d0011e719fb28f (patch)
tree6201de5504e86616fa69e58a5674a55b46060a16 /src/php-gettext/examples/pigs_fallback.php
parent15b8b6ab23abb44b4d6cdff7aec50fcfe82b73d9 (diff)
downloadsemanticscuttle-8da16ca4a6faae17c896919c31d0011e719fb28f.tar.gz
semanticscuttle-8da16ca4a6faae17c896919c31d0011e719fb28f.tar.bz2
update php-gettext to 1.0.10
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');