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

Procedural File: install.php

Source Location: /lib/install.php



Page Details:









install_check_status [line 62]

void install_check_status( $configfile)

install_check_status

this function checks to see if we actually still need to install ampache. This function is very important, we don't want to reinstall over top of an existing install




Parameters

   $configfile  
[ Top ]



install_create_account [line 273]

void install_create_account( $username, $password, $password2)

install_create_account

this creates your initial account and sets up the preferences for the -1 user and you




Parameters

   $username  
   $password  
   $password2  
[ Top ]



install_create_config [line 231]

void install_create_config( $web_path, $username, $password, $hostname, $database)

install_create_config attempts to write out the config file if it can't write it out it will prompt the user to download the config file.



Parameters

   $web_path  
   $username  
   $password  
   $hostname  
   $database  
[ Top ]



install_insert_db [line 112]

void install_insert_db( $username, $password, $hostname, $database)

install_insert_db

this function inserts the database using the username/pass/host provided and reading the .sql file




Parameters

   $username  
   $password  
   $hostname  
   $database  
[ Top ]



split_sql [line 27]

void split_sql( $sql)

split_sql

splits up a standard SQL dump file into distinct sql queryies




Parameters

   $sql  
[ Top ]



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