[500] file_put_contents(D:\wwroot\LocalUser\yuanrushengcom\www/runtime/compile/home/0aaf17fce14aa406c5fd86cfe9f512cf.php): failed to open stream: Permission denied

错误位置:FILE: D:\wwroot\LocalUser\yuanrushengcom\www\vendor\utility\file.php  LINE: 56

  1. public static function put($path, $contents) {
  2. $dir = dirname($path);
  3. if (!is_dir($dir)) {
  4. mkdir($dir, 0777, true);
  5. }
  6. return file_put_contents($path, $contents);
  7. }
  8. /**
  9. * 追加内容到文件
  1. Boton\Core\Exception->handleError
  2. file_put_contents in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\utility\file.php line 56
  3. Boton\Utility\File::put in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\core\view.php line 167
  4. Boton\Core\View->compile in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\core\view.php line 88
  5. Boton\Core\View->render in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\core\controller.php line 271
  6. Boton\Core\Controller->parseLayout in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\core\controller.php line 238
  7. Boton\Core\Controller->setupLayout in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\core\controller.php line 230
  8. Boton\Core\Controller->layout in D:\wwroot\LocalUser\yuanrushengcom\www\app\home\controller\financingcontroller.php line 98
  9. FinancingController->Index
  10. ReflectionMethod->invokeArgs in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\core\controller.php line 441
  11. Boton\Core\Controller->callAction in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\core\router.php line 295
  12. Boton\Core\Router->run in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\core\router.php line 225
  13. Boton\Core\Router->dispatch in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\core\application.php line 162
  14. Boton\Core\Application->run in D:\wwroot\LocalUser\yuanrushengcom\www\vendor\bootstrap.php line 91
  15. require in D:\wwroot\LocalUser\yuanrushengcom\www\public\index.php line 34