Current time: 06-02-2024, 01:45 AM Hello There, Guest! (LoginRegister)


Post Reply 
Writing CronJobs Web int. It's time!
Author Message
WuChEn Offline
Junior Member
*

Posts: 192
Joined: Feb 2009
Reputation: 2
Post: #43
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
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Writing CronJobs Web int. It's time! - WuChEn - 11-12-2009 06:01 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)