GIT.Harvie.CZ
/
mirrors
/
JukeBox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create FUNDING.yml
[mirrors/JukeBox.git]
/
example_config.php
diff --git
a/example_config.php
b/example_config.php
index 302d87fe39431a1a38d155d0401bfc7a8d553eac..7c5c6e1f030bebb18b7bb2b69b53a75f423c825d 100755
(executable)
--- a/
example_config.php
+++ b/
example_config.php
@@
-3,29
+3,30
@@
* Harvie's JuKe!Box configuration file.
*
* Quick Instalation HowTo:
* Harvie's JuKe!Box configuration file.
*
* Quick Instalation HowTo:
- * 1.) Change $
passwd
and $music_dir_url!
- * 2.) Rename t
o: _config.php
- * 3.) Place your music into the $music_dir ($music_dir_url must
lead to the same directory on web
)
+ * 1.) Change $
users array
and $music_dir_url!
+ * 2.) Rename t
his file to: _config.php (underscore matters)
+ * 3.) Place your music into the $music_dir ($music_dir_url must
point to the same directory through webserver
)
* 4.) create file jbx/cache.db writeable by webserver (set permissions)
* 5.) Refresh search database using $cache_passwd on search page
*/
//Config-basic
$title = 'Harvie\'s JuKe!Box'; //Title of jukebox
* 4.) create file jbx/cache.db writeable by webserver (set permissions)
* 5.) Refresh search database using $cache_passwd on search page
*/
//Config-basic
$title = 'Harvie\'s JuKe!Box'; //Title of jukebox
-$music_dir = '
./
music'; //Local path to directory with music
+$music_dir = 'music'; //Local path to directory with music
$music_dir_url = 'http://your-server.net/jukebox/music'; //URL path to the same directory CHANGE IT!
$music_dir_url = 'http://your-server.net/jukebox/music'; //URL path to the same directory CHANGE IT!
-$cache_passwd = '
renew123
'; //You need this passwd to refresh search cache CHANGE IT!
+$cache_passwd = ''; //You need this passwd to refresh search cache CHANGE IT!
//Login
//Login
-$realm = 'music';//Banner
-$user = 'music';//User
-$passwd = 'Default-Secr3t_PaSsw0rd'; //Password CHANGE IT!
-$require_login = true;
-//More search engines
+$realm = 'music'; //HTTP Auth Banner
+$users = array( //List of 'user' => 'password' pairs
+ 'music' => 'Default-Secr3t_PaSsw0rd' //CHANGE IT!
+);
+$require_login = true;
+//Additional search engines
/*
$search_engines = array_merge($search_engines, array(
/*
$search_engines = array_merge($search_engines, array(
-
'Harvie\'s blog!'
=> 'http://blog.harvie.cz/?s='
+
'Harvie\'s blog!'
=> 'http://blog.harvie.cz/?s='
));
*/
//Bonuses
if(isset($bonus_dir) && is_dir($bonus_dir)) {
));
*/
//Bonuses
if(isset($bonus_dir) && is_dir($bonus_dir)) {
- $css_file =
$bonus_dir.'/themes/default/jukebox.css'; //CSS (Design/Theme)
+ $css_file =
$base_url.
$bonus_dir.'/themes/default/jukebox.css'; //CSS (Design/Theme)
}
}
This page took
0.181115 seconds
and
4
git commands to generate.