Ampache
[ class tree: Ampache ] [ index: Ampache ] [ all elements ]

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

   $conf  
[ Top ]



check_database [line 34]

void check_database( $host, $username, $pass)

check_database

checks the local mysql db and make sure life is good




Parameters

   $host  
   $username  
   $pass  
[ Top ]



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

   $dbh  
   $db_name  
[ Top ]



check_php_iconv [line 128]

void check_php_iconv( )

check_php_iconv

checks to see if you have iconv installed




[ Top ]



check_php_mysql [line 99]

void check_php_mysql( )

check_php_mysql

checks for mysql support by looking for the mysql_query function




[ Top ]



check_php_pcre [line 143]

void check_php_pcre( )

check_php_pcre

This makes sure they have pcre (preg_???) support compiled into PHP this is required!




[ Top ]



check_php_session [line 114]

void check_php_session( )

check_php_session

checks to make sure the needed functions for sessions exist




[ Top ]



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

   $level  
[ Top ]



check_putenv [line 199]

void check_putenv( )

check_putenv

This checks to see if we can manually set the memory limit, and other putenvs we need for ampache to work correctly




[ Top ]



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

   $current  
[ Top ]



Documentation generated on Thu, 12 Feb 2009 07:59:56 +0900 by phpDocumentor 1.4.2