config.php
author Dan
Sun, 23 Nov 2008 23:53:29 -0500
changeset 60 acc7755e15b6
parent 46 1e58e36b04cd
permissions -rw-r--r--
...it should be cool with scrolling now.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
46
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
     1
<?php
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
     2
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
     3
//
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
     4
// CONFIGURATION
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
     5
//
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
     6
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
     7
// Listen on all interfaces. If this is false, it will only listen on
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
     8
// 127.0.0.1 (the loopback interface)
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
     9
$public = true;
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    10
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    11
// Allow control of playback. By default this is turned on but if you
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    12
// set this to false, it will only display the playlist.
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    13
$allowcontrol = true;
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    14
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    15
// The default theme. This should be a name of a directory in ./themes.
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    16
$theme = 'grey';
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    17
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    18
// Allow forking when an HTTP request is received. This has advantages
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    19
// and disadvantages. If this experimental option is enabled, it will
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    20
// result in faster responses and load times but more memory usage.
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    21
$allow_fork = true;
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    22
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    23
// set to true to enable authentication
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    24
// this uses cookies, so make sure they're enabled in your browser
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    25
$use_auth = false;
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    26
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    27
// valid users and passwords
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    28
$auth_data = array(
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    29
    'funky' => 'monkey',
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    30
    'fast' => 'forward'
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    31
  );
1e58e36b04cd Moved configuration to a separate file.
Dan
parents:
diff changeset
    32