pull origin

This commit is contained in:
RichWeber
2014-08-01 00:32:08 +03:00
parent 5a8bd4747d
commit 92cd13a913
411 changed files with 4872 additions and 1587 deletions

View File

@@ -29,7 +29,7 @@ class AppController extends Controller
*/
protected function unlink($file)
{
if (is_dir($file) && strncasecmp(PHP_OS, 'WIN', 3) === 0) {
if (is_dir($file) && DIRECTORY_SEPARATOR === '\\') {
rmdir($file);
} else {
unlink($file);