WuChEn
Junior Member
Posts: 192
Joined: Feb 2009
Reputation: 2
|
RE: Writing CronJobs Web int. It's time!
Okay last Problem. *g*
You have editet the
./ispcp/gui/reseller/domain_delete.php
with the code:
/* check for cronjobs */
$query = "SELECT COUNT(id) AS cronnum FROM hcrondtab WHERE domain = ?";
$res = exec_query($sql, $query, array($del_id));
$data = $res->FetchRow();
if ($data['cronnum'] > 0) {
/* ERR - we have cronjobs for this domain */
set_page_message(tr('Domain you are trying to remove has CronJobs !<br> first remove them !'));
header("Location: users.php");
die();
}
But this Code doesn´t work with the File of the trunk.
If you have some time, can you please check the
./ispcp/gui/reseller/domain_delete.php
of the trunk and can say how to change this file!?
So i can create a how to for debian 5 lenny with all files for the trunk ( 1.0.3 )
Greatz WuChEn
|
|
11-12-2009 06:01 AM |
|