• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision1e4892ec4105856314ec3ec4f68fb773658529dc (tree)
Time2006-06-11 23:42:09
Authorhenoheno <henoheno>
Commiterhenoheno

Log Message

Correct using PKWK_UPDATE_EXEC

Change Summary

Incremental Difference

--- a/lib/file.php
+++ b/lib/file.php
@@ -1,6 +1,6 @@
11 <?php
22 // PukiWiki - Yet another WikiWikiWeb clone.
3-// $Id: file.php,v 1.71 2006/06/08 14:36:24 henoheno Exp $
3+// $Id: file.php,v 1.72 2006/06/11 14:42:09 henoheno Exp $
44 // Copyright (C)
55 // 2002-2006 PukiWiki Developers Team
66 // 2001-2002 Originally written by yu-ji
@@ -249,7 +249,7 @@ function file_write($dir, $page, $str, $notimestamp = FALSE)
249249 if ($timestamp === FALSE) lastmodified_add($page);
250250
251251 // Command execution per update
252- if (defined('PKWK_UPDATE_EXEC'))
252+ if (defined('PKWK_UPDATE_EXEC') && PKWK_UPDATE_EXEC)
253253 system(PKWK_UPDATE_EXEC . ' > /dev/null &');
254254
255255 } else if ($dir == DIFF_DIR && $notify) {