Skip to content

Commit

Permalink
Gettext fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MilkZoft committed Dec 13, 2012
1 parent 58947e0 commit 50d5528
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions www/config/config.example.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Website
*/
$ZP["webURL"] = "http://localhost/codejobs";
$ZP["webURL"] = "http://localhost/ZanPHP";
$ZP["webName"] = "ZanPHP";
$ZP["webTheme"] = "default";
$ZP["webSituation"] = "Active";
Expand All @@ -25,11 +25,11 @@
* 3. Stage
* 4. Production
*/
$ZP["environment"] = 1;
$ZP["environment"] = 1;
$ZP["optimization"] = FALSE;
$ZP["domain"] = FALSE;
$ZP["modRewrite"] = FALSE;
$ZP["autoRender"] = TRUE;
$ZP["domain"] = FALSE;
$ZP["modRewrite"] = FALSE;
$ZP["autoRender"] = TRUE;

/**
* Applications
Expand All @@ -40,7 +40,7 @@
* Languages
*/
$ZP["webLanguage"] = "Spanish";
$ZP["translation"] = "normal";
$ZP["translation"] = "gettext";

/**
* Constants
Expand Down
2 changes: 1 addition & 1 deletion www/configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

set("webLang", whichLanguage(FALSE));

if(get("translation") === "gettext") {
if(_get("translation") === "gettext") {
$languageFile = _dir ."/lib/languages/gettext/". whichLanguage(TRUE, TRUE) .".mo";

if(file_exists($languageFile)) {
Expand Down

0 comments on commit 50d5528

Please sign in to comment.