View Single Post
  #11  
Old 15th March 2010, 19:48
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 49 Times in 28 Posts
Default

I used the script to install the service, but I get an error when clicking on the folder icon.

Any help would be appreciated.

Code:
<\?php require_once('../../lib/config.inc.php'); require_once('../../lib/app.inc.php'); $app->auth->check_module_permissions('sites'); if (!isset($_GET['id'])){ die ("No site selected!"); } $domainId = intval($_GET['id']); $dbData = $app->db->queryOneRecord("SELECT server_id FROM web_domain WHERE domain_id = " . $domainId); $serverId = intval($dbData['server_id']); if ($serverId == 0){ die ("No Server found!"); } $serverData = $app->db->queryOneRecord( "SELECT server_name FROM server WHERE server_id = " . $serverId); header('location:/webftp?servername="'.$serverData['server_name'].'"'); exit; ?>
I am pretty sure that it has something to do with the leading slash, but where do I go to change this?
Reply With Quote
Sponsored Links