config.php
author Dan
Wed, 24 Sep 2008 13:47:42 -0400
changeset 54 6d8b9497e44b
parent 46 1e58e36b04cd
permissions -rw-r--r--
Added check for PHP 5.1.0 and improved error handling for missing pcntl
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