您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

index.php 474B

12345678910111213141516171819202122232425
  1. <?php
  2. require_once '../bootstrap.php';
  3. use SCF\Additionals\Carousel;
  4. $c = new Carousel(ROOT . DS . 'web/Styles/sks-screens' . DS);
  5. /**
  6. * AltoRouter INCLUSION
  7. */
  8. require_once ROOT.DS.APP."/Config/router.php";
  9. $tpl->assign('sksscreens', $c->getPicArray());
  10. $match = $router->match();
  11. if($match === false) {
  12. $tpl->display('errorpages/404.tpl');
  13. }
  14. else {
  15. try {
  16. require $match['target'];
  17. } catch(Exception $e) {
  18. return $e->getMessage();
  19. }
  20. }