aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys/translation.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-10-03 22:30:58 +0200
committerKevin Chabowski <kevin@kch42.de>2013-10-03 22:30:58 +0200
commit78c95c09f05e4fa12b66bd27714ce4889a892c21 (patch)
tree7827469ff419391efec3271576395d567ec5bc4f /ratatoeskr/sys/translation.php
parentb302319e6c62f6b31d53197a08134c6c9bf8735b (diff)
downloadratatoeskr-cms-78c95c09f05e4fa12b66bd27714ce4889a892c21.tar.gz
ratatoeskr-cms-78c95c09f05e4fa12b66bd27714ce4889a892c21.tar.bz2
ratatoeskr-cms-78c95c09f05e4fa12b66bd27714ce4889a892c21.zip
Fixed referencing and constants.
* Creating a varaible reference at call time is not possbile any more. * When defining a constant, we pass the name as a string now.
Diffstat (limited to 'ratatoeskr/sys/translation.php')
-rw-r--r--ratatoeskr/sys/translation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ratatoeskr/sys/translation.php b/ratatoeskr/sys/translation.php
index 6c494db..1104bdb 100644
--- a/ratatoeskr/sys/translation.php
+++ b/ratatoeskr/sys/translation.php
@@ -15,7 +15,7 @@ require_once(dirname(__FILE__) . "/init_ste.php");
if(!defined("SETUP"))
require_once(dirname(__FILE__) . "/models.php");
-if(!defined(TRANSLATION_PLUGIN_LOADED))
+if(!defined("TRANSLATION_PLUGIN_LOADED"))
{
$ste->register_tag(
"get_translation",
@@ -28,7 +28,7 @@ if(!defined(TRANSLATION_PLUGIN_LOADED))
return (!empty($params["raw"])) ? $rv : htmlesc($rv);
}
);
- define(TRANSLATION_PLUGIN_LOADED, True);
+ define("TRANSLATION_PLUGIN_LOADED", True);
}
/*