if (isset($_GET['path_to_root']) || isset($_POST['path_to_root']))
die("Restricted access");
@include_once($path_to_root . "/lang/installed_languages.inc");
-include_once($path_to_root . "/includes/lang/gettext.php");
+include_once($path_to_root . "/includes/lang/gettext.inc");
class language
{
var $version; // lang package version
var $is_locale_file;
- function language($name, $code, $encoding, $dir = 'ltr')
+ function __construct($name, $code, $encoding, $dir = 'ltr')
{
global $dflt_lang;
return $retVal;
}
}
-?>
\ No newline at end of file