• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Supported Languages

#1
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
(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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.