webcontrol.php
changeset 3 e7447a6044ec
parent 2 860ba7141641
child 4 cde92f6ec29f
--- a/webcontrol.php	Sun Mar 23 20:24:33 2008 -0400
+++ b/webcontrol.php	Sun Mar 23 20:58:51 2008 -0400
@@ -54,7 +54,7 @@
 
 // startup webserver
 $ip = ( $public ) ? '0.0.0.0' : '127.0.0.1';
-$port = mt_rand(1025, 65534); // 7447;
+$port = 7447;
 
 try
 {
@@ -66,6 +66,8 @@
   $httpd->add_handler('index', 'function', 'amarok_playlist');
   $httpd->add_handler('action.json', 'function', 'ajax_request_handler');
   $httpd->add_handler('scripts', 'dir', './scripts');
+  $httpd->add_handler('favicon.ico', 'file', './amarok_icon.ico');
+  $httpd->add_handler('apple-touch-icon.png', 'file', './apple-touch-icon.png');
   $httpd->add_handler("themes/$theme", 'dir', "./themes/$theme");
   $httpd->allow_dir_list = true;
   $httpd->default_document = 'index';