[404] 没有发现模板文件:d:/iis_root/localuser/syppcom/www/app/home/view/default/template/home/contact.php

错误位置:FILE: D:\iis_root\LocalUser\syppcom\www\framework\core\view.php  LINE: 73

  1. * 获取视图内容
  2. *
  3. * @param string|bool $view
  4. * @param bool $cache
  5. * @param array $data
  6. */
  7. public function render($file, $data = []) {
  8. $file=strtolower($file);
  9. if (!file_exists($file)) {
  10. throw new HttpException(lang('system.not_found_view',[(config('debug')?$file:basename($file))]),404);
  11. }
  12. $this->compiledir=path('runtime').'/compile/'.strtolower(app('router.module')).'/'.md5($file).'.php';
  13. if(!config('debug')){
  14. if(File::exists($this->compiledir)){
  15. $expires = File::lastModified($this->compiledir);
  16. }else{
  17. $expires=0;
  1. Boton\Core\View->render in D:\iis_root\LocalUser\syppcom\www\framework\core\controller.php line 368
  2. Boton\Core\Controller->render in D:\iis_root\LocalUser\syppcom\www\framework\core\controller.php line 511
  3. Boton\Core\Controller->callAction in D:\iis_root\LocalUser\syppcom\www\framework\core\router.php line 368
  4. Boton\Core\Router->run in D:\iis_root\LocalUser\syppcom\www\framework\core\router.php line 274
  5. Boton\Core\Router->dispatch in D:\iis_root\LocalUser\syppcom\www\framework\core\application.php line 155
  6. Boton\Core\Application->run in D:\iis_root\LocalUser\syppcom\www\public\index.php line 24