require_once("include/core.inc.php");
+function i18n($_index) { global $philter; echo $philter->i18n($_index); }
+
/** Philter base configuration class
* This is the base class of Philter.
*/
* @returns the string or false
*/
function i18n($_index) {
- if(isset($this->confg[$_index]))
- return $this->confg[$_index];
+ if(isset($this->config['i18n'][$_index]))
+ return $this->config['i18n'][$_index];
return false;
}