route.php 776 B

123456789101112131415161718
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: Dean <zxxjjforever@163.com>
  10. // +----------------------------------------------------------------------
  11. if (file_exists(CMF_ROOT . "data/conf/route.php")) {
  12. $runtimeRoutes = include CMF_ROOT . "data/conf/route.php";
  13. } else {
  14. $runtimeRoutes = [];
  15. }
  16. return $runtimeRoutes;