BUGFIX Don't check for Controller::curr() in ErrorPageSubsite, this causes a user_error when none is available (e.g. when running tests through "phpunit" executable)
BUGFIX Don't check for Controller::curr() in ErrorPageSubsite, this causes a user_error when none is available (e.g. when running tests through "phpunit" executable)

silverstripe/silverstripe-subsites,danaenz/silverstripe-subsites,wernerkrauss/silverstripe-subsites,mikenz/silverstripe-simplesubsites,mandrew/silverstripe-subsites,mandrew/silverstripe-subsites,wernerkrauss/silverstripe-subsites,danaenz/silverstripe-subsites,petpack/silverstripe-subsites,petpack/silverstripe-subsites,silverstripe/silverstripe-subsites,dnadesign/silverstripe-subsites,mikenz/silverstripe-simplesubsites,dnadesign/silverstripe-subsites