projects
/
scuttle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tagged 0.7.5
[scuttle]
/
includes
/
php-gettext
/
examples
/
pigs_fallback.php
diff --git
a/includes/php-gettext/examples/pigs_fallback.php
b/includes/php-gettext/examples/pigs_fallback.php
index b50f752fb3ab4aa43c73513d40ef02d04b8b8ec8..353190da7c28a5e0ff08ebb36cd0fc723d5f67a0 100644
(file)
--- a/
includes/php-gettext/examples/pigs_fallback.php
+++ b/
includes/php-gettext/examples/pigs_fallback.php
@@
-1,6
+1,6
@@
<?php
/*
<?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.
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 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');
require_once('../gettext.inc');
Benjamin Mako Hill
||
Want to submit a patch?