setconfig.php 321 B

12345678910111213141516171819202122232425
  1. <?php
  2. class setconfig_m extends Model
  3. {
  4. function __construct()
  5. {
  6. parent::Model();
  7. }
  8. function setconfig_m()
  9. {
  10. $this->__construct();
  11. }
  12. function get_list($langid="zh")
  13. {
  14. $file = ROOT_DATA."system_".$langid.".php";
  15. $_sys = array();
  16. if(file_exists($file))
  17. {
  18. include($file);
  19. }
  20. return $_sys;
  21. }
  22. }
  23. ?>