From af3cbba1806e301206af3ff769bc47d95109636e Mon Sep 17 00:00:00 2001 From: shish Date: Mon, 1 Sep 2008 12:54:58 +0000 Subject: [PATCH] realpath() should make things work better on windows git-svn-id: file:///home/shish/svn/shimmie2/trunk@1009 7f39781d-f577-437e-ae19-be835c7a54ca --- ext/upload/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/upload/main.php b/ext/upload/main.php index 2923fc7f..9015525c 100644 --- a/ext/upload/main.php +++ b/ext/upload/main.php @@ -6,7 +6,7 @@ class Upload implements Extension { public function receive_event(Event $event) { if(is_null($this->theme)) $this->theme = get_theme_object("upload", "UploadTheme"); - $is_full = (disk_free_space("./images/") < 100*1024*1024); + $is_full = (disk_free_space(realpath("./images/")) < 100*1024*1024); if($event instanceof InitExtEvent) { global $config;