OSDN Git Service

PKWK_READONLY prohibits writing
authorhenoheno <henoheno>
Sat, 29 Jan 2005 13:40:39 +0000 (22:40 +0900)
committerhenoheno <henoheno>
Sat, 29 Jan 2005 13:40:39 +0000 (22:40 +0900)
lib/backup.php

index 1fc4eae..dc02387 100644 (file)
@@ -11,7 +11,7 @@
  * @access  public
  * @author
  * @create
- * @version $Id: backup.php,v 1.5 2004/10/30 07:42:49 henoheno Exp $
+ * @version $Id: backup.php,v 1.6 2005/01/29 13:40:39 henoheno Exp $
  **/
 
 /**
  *
  * @return    Void
  */
+
 function make_backup($page, $delete = FALSE)
 {
        global $cycle, $maxage;
        global $do_backup, $del_backup;
 
-       if (! $do_backup) return;
+       if (PKWK_READONLY || ! $do_backup) return;
 
        if ($del_backup && $delete) {
                _backup_delete($page);