OSDN Git Service

pkwk_touch_file() also corrects the ownership
[pukiwiki/pukiwiki.git] / plugin / online.inc.php
index 11df1e5..37cb0a2 100644 (file)
@@ -65,7 +65,7 @@ function plugin_online_itself($type = 0)
 // & $count == Number of online users
 function plugin_online_check_online(& $count, $host = '')
 {
-       if (pkwk_touch_file(PLUGIN_ONLINE_USER_LIST)) return FALSE;
+       if (pkwk_touch_file(PLUGIN_ONLINE_USER_LIST)) return FALSE;
 
        // Open
        $fp = @fopen(PLUGIN_ONLINE_USER_LIST, 'r');