FIX: supress error when trying to open non-existing template

This commit is contained in:
Michal Kváček
2016-03-09 22:09:42 +01:00
parent fc58a4d31c
commit f79fc78868
+1 -1
View File
@@ -25,7 +25,7 @@ class EditTemplate extends Controller
// load template content
$absolutePath = $template->getPathToTemplate();
$content = file_get_contents($absolutePath);
$content = @file_get_contents($absolutePath);
return view('admin.templates.edit', [
'template' => $template,