From ff32e499745367b816d10f25e63ff3328214c32f Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Mon, 13 Aug 2012 10:45:23 +0000 Subject: - Import moonmoon - Create repo per langs --- common/app/app.php | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 common/app/app.php (limited to 'common/app/app.php') diff --git a/common/app/app.php b/common/app/app.php new file mode 100755 index 0000000..0703ac5 --- /dev/null +++ b/common/app/app.php @@ -0,0 +1,47 @@ +toYaml()); + $conf = Spyc::YAMLLoad($savedConfig); + } + + $PlanetConfig = new PlanetConfig($conf); + $Planet = new Planet($PlanetConfig); +} + +$l10n = new Simplel10n($conf['locale']); + +// this is an helper function. We will usually use that function and not Simplel10n::getString() +function _g($str, $comment='') { + return Simplel10n::getString($str); +} + + -- cgit v1.2.1