aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/cron/cron.inc4
-rw-r--r--config/cron/cron_edit.tmp4
2 files changed, 4 insertions, 4 deletions
diff --git a/config/cron/cron.inc b/config/cron/cron.inc
index 3e6b6cea..44d1fc00 100644
--- a/config/cron/cron.inc
+++ b/config/cron/cron.inc
@@ -33,7 +33,7 @@
require_once("services.inc");
-function pkg_is_service_running($servicename)
+function cron_pkg_is_service_running($servicename)
{
exec("/bin/ps ax | awk '{ print $5 }'", $psout);
array_shift($psout);
@@ -118,4 +118,4 @@ function cron_deinstall_command()
config_unlock();
}
-?> \ No newline at end of file
+?>
diff --git a/config/cron/cron_edit.tmp b/config/cron/cron_edit.tmp
index 81f4b02b..71367d24 100644
--- a/config/cron/cron_edit.tmp
+++ b/config/cron/cron_edit.tmp
@@ -28,8 +28,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
-require("guiconfig.inc");
-require("/usr/local/pkg/cron.inc");
+require_once("guiconfig.inc");
+require_once("/usr/local/pkg/cron.inc");
$a_cron = &$config['cron']['item'];