OK, did up to the raising of the Trac ticket, but the svn diff left me a little worried, in that it appears that there have been changes since my install, and I don't want to put something in which shows new changes being replaced with old stuff, effectively undoing other peoples work. Here is the output of the svn diff, and it shows replacing lines, which I hadn't replaced. Also, it doesn't include the new files I created?! Any Suggestions?! or is this what you expected to see?! Sorry, first time doing this!!
Index: lmce-admin/include/config/database.inc.php
===================================================================
--- lmce-admin/include/config/database.inc.php (revision 27776)
+++ lmce-admin/include/config/database.inc.php (working copy)
@@ -26,6 +26,10 @@
$securityADO = &ADONewConnection($dbPlutoSecurityType);
$securityADO->NConnect($dbPlutoSecurityServer,urlencode($dbPlutoSecurityUser),urlencode($dbPlutoSecurityPass),urlencode($dbPlutoSecurityDatabase));
+ // TransmissionADO connection
+ $transmissionADO = &ADONewConnection($dbTransmissionType);
+ $transmissionADO->NConnect($dbTransmissionServer,urlencode($dbTransmissionUser),urlencode($dbTransmissionPass),urlencode($dbTransmissionDatabase));
+
//for sqlite
//$db = &ADONewConnection('sqlite');
//$db->NConnect($GLOBALS['appRoot'].'sqlite.db'); # sqlite will create if does not exist
Index: lmce-admin/include/config/globalconfig.inc.php
===================================================================
--- lmce-admin/include/config/globalconfig.inc.php (revision 27776)
+++ lmce-admin/include/config/globalconfig.inc.php (working copy)
@@ -32,6 +32,13 @@
$dbPlutoSecurityServer = $DB_HOST;
$dbPlutoSecurityDatabase = "pluto_security";
+ // Transmission
+ $dbTransmissionType = "mysql";
+ $dbTransmissionUser = "transmission";
+ $dbTransmissionPass = "";
+ $dbTransmissionServer = $DB_HOST;
+ $dbTransmissionDatabase = "transmission_links";
+
function LoadConfig($configFile,$configKey) {
//LoadConfig()
//Looks for the assigned value of $configKey within $configFile,
Index: lmce-admin/index.php
===================================================================
--- lmce-admin/index.php (revision 27776)
+++ lmce-admin/index.php (working copy)
@@ -1078,10 +1078,9 @@
$output = new Template($dbADO);
$output->setTemplateFileType('large');
@include($GLOBALS['globalConfigPath'].'asteriskDB.inc.php');
- @include($GLOBALS['globalConfigPath'].'telecom.inc.php');
include_once('operations/phones/phoneLines.php');
$output->setHelpSrc('/wiki/index.php/Phone_Lines');
- phoneLines($output,$asteriskADO,$dbADO,$telecomADO);
+ phoneLines($output,$asteriskADO,$dbADO);
break;
case 'fax';
$output = new Template($dbADO);
@@ -1801,6 +1800,20 @@
include_once('operations/deviceTemplate/commMethod.php');
commMethod($output,$dbADO);
break;
+ case 'transmission-daemon':
+ $output = new Template($dbADO);
+ $output->setTemplateFileType('large');
+ include_once('operations/others/transmissionDaemon.php');
+ transmissionDaemon($output,$dbADO,$transmissionADO);
+ //transmissionDaemon($output,$dbADO,"");
+ break;
+ case 'transmissionLink':
+ $output = new Template($dbADO);
+ $output->setTemplateFileType('small');
+ include_once('operations/others/transmissionLink.php');
+ transmissionLink($output,$dbADO,$transmissionADO);
+ //transmissionLink($output,$dbADO,"");
+ break;
case 'upnpServer':
$output = new Template($dbADO);
$output->setTemplateFileType('large');