10-18-2009, 03:36 PM
Alright, i was testing thehostingtool, and i noticed it only showed one subdomain in the list. It was a pretty easy fix.
open includes/ajax.php and look for:
Replace whole function with:
open includes/ajax.php and look for:
Code:
function sub()
Replace whole function with:
Code:
public function sub() {
global $main, $db, $type;
$pack = $main->getvar['pack'];
$server = $type->determineServer($pack);
$query = $db->query("SELECT * FROM `<PRE>subdomains` WHERE `server` = '{$server}'");
while($select = $db->fetch_array($query)){
$values[] = array($select['subdomain'], $select['subdomain']);
}
echo $main->dropdown("csub2", $values);
}