From 9a036a6fad58fa82f1f1ee298bb811cd78d37ee7 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 19 Oct 2010 00:48:04 +0000 Subject: [PATCH] MINOR: allow $icon to be overridden on ErrorPages. PATCH via martljn (#5875). (from r108640) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112761 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/ErrorPage.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/model/ErrorPage.php b/core/model/ErrorPage.php index e452e25a4..dd2015d03 100755 --- a/core/model/ErrorPage.php +++ b/core/model/ErrorPage.php @@ -22,6 +22,8 @@ class ErrorPage extends Page { "ShowInSearch" => 0 ); + static $icon = array("sapphire/javascript/tree/images/page", "file"); + protected static $static_filepath = ASSETS_PATH; /**