pkwk_chown(): Try to correct UID of the file
pkwk_touch_file(): touch() with pkwk_chown()
// ɬ¿Ü¤Î¥Ú¡¼¥¸¤¬Â¸ºß¤·¤Ê¤±¤ì¤Ð¡¢¶õ¤Î¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë
foreach(array($defaultpage, $whatsnew, $interwiki) as $page){
- if (! is_page($page)) touch(get_filename($page));
+ if (! is_page($page)) pkwk_touch_file(get_filename($page));
}
/////////////////////////////////////////////////
chmod($obj->filename, PLUGIN_ATTACH_FILE_MODE);
if (is_page($page))
- touch(get_filename($page));
+ pkwk_touch_file(get_filename($page));
$obj->getstatus();
$obj->status['pass'] = ($pass !== TRUE && $pass !== NULL) ? md5($pass) : '';