From 43d29af65deda1571be5cccd39f0d33e2126089d Mon Sep 17 00:00:00 2001 From: azammitdcarf Date: Tue, 2 Dec 2008 05:27:52 +0000 Subject: [PATCH] Specific path required when run in background --- admin/process.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/process.php b/admin/process.php index 36d6acfd..08003d10 100644 --- a/admin/process.php +++ b/admin/process.php @@ -32,22 +32,22 @@ /** * Configuration file */ -include ("../config.inc.php"); +include (dirname(__FILE__) . "/../config.inc.php"); /** * Database file */ -include ("../db.inc.php"); +include (dirname(__FILE__) . "/../db.inc.php"); /** * Process */ -include ("../functions/functions.process.php"); +include (dirname(__FILE__) . "/../functions/functions.process.php"); /** * VoIP functions */ -include("../functions/functions.voip.php"); +include(dirname(__FILE__) . "/../functions/functions.voip.php"); /** * Update the database with the new data from the running script