mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
c41db64070
commit
553190bb98
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class ErrorHandler extends Object{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
static $__previousError = null;
|
static $__previousError = null;
|
||||||
|
|
||||||
$allow = array('.', '/', '_', ' ');
|
$allow = array('.', '/', '_', ' ', '-');
|
||||||
if(substr(PHP_OS,0,3) == "WIN") {
|
if(substr(PHP_OS,0,3) == "WIN") {
|
||||||
$allow = array_merge($allow, array('\\', ':') );
|
$allow = array_merge($allow, array('\\', ':') );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue