修订版 | e3da7bca9b5e5e2c302e77718cbeebd771c0e16f (tree) |
---|---|
时间 | 2006-06-08 23:36:24 |
作者 | henoheno <henoheno> |
Commiter | henoheno |
Correct using PKWK_UPDATE_EXEC
@@ -1,6 +1,6 @@ | ||
1 | 1 | <?php |
2 | 2 | // PukiWiki - Yet another WikiWikiWeb clone. |
3 | -// $Id: file.php,v 1.70 2006/05/19 15:16:59 henoheno Exp $ | |
3 | +// $Id: file.php,v 1.71 2006/06/08 14:36:24 henoheno Exp $ | |
4 | 4 | // Copyright (C) |
5 | 5 | // 2002-2006 PukiWiki Developers Team |
6 | 6 | // 2001-2002 Originally written by yu-ji |
@@ -249,7 +249,7 @@ function file_write($dir, $page, $str, $notimestamp = FALSE) | ||
249 | 249 | if ($timestamp === FALSE) lastmodified_add($page); |
250 | 250 | |
251 | 251 | // Command execution per update |
252 | - if (defined(PKWK_UPDATE_EXEC)) | |
252 | + if (defined('PKWK_UPDATE_EXEC')) | |
253 | 253 | system(PKWK_UPDATE_EXEC . ' > /dev/null &'); |
254 | 254 | |
255 | 255 | } else if ($dir == DIFF_DIR && $notify) { |