How to fix the blank page bug (October 2015)

bug-fix
(Dmitry Fedyuk) #1

GitHub issue 2125

Find the code:

Add after:

/** @var callable $adjustPath */
$adjustPath = function($path) {return str_replace('\\', '/', $path);};
$this->_themesDir = array_map($adjustPath, $this->_themesDir);
$this->moduleDirs = array_map($adjustPath, $this->moduleDirs);
$this->_compiledDir = $adjustPath($this->_compiledDir);
0 Likes