Procedural File: debug.lib.php
Source Location: /lib/debug.lib.php
Page Details:
Debug Library This library is loaded when somehow our mojo has been lost, it contains functions for checking sql connections, web paths etc..
check_config_values [line 157]
void check_config_values(
$conf)
|
|
check_config_values checks to make sure that they have at least set the needed variables
Parameters
check_database [line 34]
void check_database(
$host, $username, $pass)
|
|
check_database checks the local mysql db and make sure life is good
Parameters
check_database_inserted [line 54]
void check_database_inserted(
$dbh, $db_name)
|
|
check_database_inserted checks to make sure that you have inserted the database and that the user you are using has access to it
Parameters
check_php_iconv [line 128]
check_php_iconv checks to see if you have iconv installed
check_php_mysql [line 99]
check_php_mysql checks for mysql support by looking for the mysql_query function
check_php_pcre [line 143]
check_php_pcre This makes sure they have pcre (preg_???) support compiled into PHP this is required!
check_php_session [line 114]
void check_php_session(
)
|
|
check_php_session checks to make sure the needed functions for sessions exist
check_php_ver [line 77]
void check_php_ver(
[ $level = 0])
|
|
check_php_ver checks the php version and makes sure that it's good enough
Parameters
check_putenv [line 199]
check_putenv This checks to see if we can manually set the memory limit, and other putenvs we need for ampache to work correctly
generate_config [line 235]
void generate_config(
$current)
|
|
generate_config This takes an array of results and re-generates the config file this is used by the installer and by the admin/system page
Parameters
|