Commit 7ef0d760 by Alexander Makarov

Corrected app/link for Windows once again

parent 57a1ac67
......@@ -29,7 +29,7 @@ class AppController extends Controller
*/
protected function unlink($file)
{
if (is_dir($file) && !is_link($file)) {
if (is_dir($file) && strncasecmp(PHP_OS, 'WIN', 3) === 0) {
rmdir($file);
} else {
unlink($file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment