40c64d8a6b1b990939f0380b2bba2bd0b2b4bbcf
[mpd-web.git] / index.php
1 <?php
2 include('config/config.php');
3 include('system/mpd_class.php');
4 include('system/helper.php');
5
6 $mpd = new mpd($mpd_host,$mpd_port,$mpd_password);
7
8 if($mpd->connected != 1){
9         echo "Not Connected to Server";
10         exit(1);
11 }
12
13 $task=$_REQUEST['task'];
14
15 include('view/default/view.php');
16
17 ?>