Welcome Guest, Not a member yet? Register   Sign In
Supported Languages
#1

(This post was last modified: 01-25-2020, 01:47 AM by mrguseynov.)

Hi.How to get $supportedLocales array from App class? Is it correct to get it this way :
Code:
<?php
                        $cl = new \Config\App();
                        var_dump($cl->supportedLocales);
                        ?>
Reply
#2

PHP Code:
$config = new \Config\Language();

$array $config->languages
Reply
#3

(This post was last modified: 01-25-2020, 12:25 PM by mrguseynov.)

(01-25-2020, 11:59 AM)plaztic Wrote:
PHP Code:
$config = new \Config\Language();

$array $config->languages
No, this code returns an error. My code is working well, but is it secure or not I dont't know.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB