Added fix for Ticket #1679

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3939 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2006-11-23 10:48:22 +00:00
parent c41db64070
commit 553190bb98

View file

@ -49,7 +49,7 @@ class ErrorHandler extends Object{
parent::__construct();
static $__previousError = null;
$allow = array('.', '/', '_', ' ');
$allow = array('.', '/', '_', ' ', '-');
if(substr(PHP_OS,0,3) == "WIN") {
$allow = array_merge($allow, array('\\', ':') );
}