-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.php
More file actions
executable file
·23 lines (18 loc) · 943 Bytes
/
config.php
File metadata and controls
executable file
·23 lines (18 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
if(!defined('DB_NAME')) {define('DB_NAME','web_jukebox');}
if(!defined('DB_USER')) {define('DB_USER','root');}
if(!defined('DB_PASSWORD')) {define('DB_PASSWORD','password');}
if(!defined('DB_HOST')) {define('DB_HOST','localhost');}
if(!defined('ZEND_INCLUDE_PATH')) {define('ZEND_INCLUDE_PATH','../ZendFramework-1.12.3/library');}
if(!defined('MP3_INCLUDE_PATH')) {define('MP3_INCLUDE_PATH','../getID3-1.9.7');}
if(!defined('MUSIC_DIRECTORY')) {define('MUSIC_DIRECTORY','/home/pi/music');}
if(!defined('HEAT_SIZE')) {define('HEAT_SIZE',4);}
set_include_path(get_include_path() . PATH_SEPARATOR . ZEND_INCLUDE_PATH . PATH_SEPARATOR . MP3_INCLUDE_PATH);
require_once('Zend/Loader.php');
Zend_Loader::loadClass('Zend_Db');
include 'model.php';
session_start();
$_bootstrap_css = '../bootstrap-3.1.1-dist/css/bootstrap.min.css';
$_bootstrap_js = '../bootstrap-3.1.1-dist/js/bootstrap.min.js';
$_jquery_js = '../jquery-2.1.0.min.js';
?>