From 10df6dc6e0ff0a1c14c8f01a845ac9f1b23d2580 Mon Sep 17 00:00:00 2001
From: jwarnier <jwarnier@ispconfig3>
Date: Tue, 17 Aug 2010 18:07:08 -0400
Subject: [PATCH] Strip out no longer used find_duplicates().
---
server/plugins-available/cron_plugin.inc.php | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/server/plugins-available/cron_plugin.inc.php b/server/plugins-available/cron_plugin.inc.php
index 923d8b5..eae2232 100644
--- a/server/plugins-available/cron_plugin.inc.php
+++ b/server/plugins-available/cron_plugin.inc.php
@@ -133,7 +133,7 @@
exec("setquota -T -u $username 604800 604800 -a &> /dev/null");
}
- // make temp direcory writable for the apache user and the website user
+ // make temp directory writable for the apache and website users
exec("chmod 777 ".escapeshellcmd($parent_domain["document_root"]."/tmp"));
/** TODO READ CRON MASTER **/
@@ -141,6 +141,7 @@
$this->parent_domain = $parent_domain;
$this->_write_crontab();
+ $this->action = '';
}
@@ -198,7 +199,7 @@
}
$command .= "\t";
- if(substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'];
+ if(substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
$command .= $job['command'];
}
@@ -235,4 +236,4 @@
} // end class
-?>
\ No newline at end of file
+?>
--
Gitblit v1.9.1