diff --git a/php/clonos.php b/php/clonos.php index 1c2f28c3..bfeefed5 100644 --- a/php/clonos.php +++ b/php/clonos.php @@ -2,7 +2,7 @@ require_once("cbsd.php"); require_once('config.php'); -require_once('locale.php'); +require_once('localization.php'); require_once('db.php'); require_once('forms.php'); require_once('utils.php'); @@ -87,7 +87,7 @@ class ClonOS { $this->config=new Config(); - $this->_locale = new Locale($this->realpath_public); + $this->_locale = new Localization($this->realpath_public); $this->_client_ip=$_SERVER['REMOTE_ADDR']; diff --git a/php/locale.php b/php/localization.php similarity index 96% rename from php/locale.php rename to php/localization.php index cc6bca2f..d601eaab 100644 --- a/php/locale.php +++ b/php/localization.php @@ -1,6 +1,6 @@ first_key = array_key_first($menu_config); diff --git a/public/index.php b/public/index.php index 509c1b3c..1eb559e4 100644 --- a/public/index.php +++ b/public/index.php @@ -11,7 +11,7 @@ require_once($_real_path.'/php/clonos.php'); require_once($_real_path.'/php/menu.php'); $chunks=Utils::gen_uri_chunks($uri); $clonos=new ClonOS($_real_path, $chunks); -$locale = new Locale($_real_path.'/public/'); # /usr/home/web/cp/clonos/public/ +$locale = new Localization($_real_path.'/public/'); # /usr/home/web/cp/clonos/public/ $menu=new Menu($locale, $chunks); if(isset($_GET['upload'])){