install.inc

Version 1.56.2.4 (checked in on 2009/02/16 at 10:25:02 by goba)

Constants

NameDescription
FILE_EXECUTABLE
FILE_EXIST
FILE_NOT_EXECUTABLE
FILE_NOT_EXIST
FILE_NOT_READABLE
FILE_NOT_WRITABLE
FILE_READABLE
FILE_WRITABLE
REQUIREMENT_ERROR
REQUIREMENT_INFO
REQUIREMENT_OK
REQUIREMENT_WARNING
SCHEMA_INSTALLED
SCHEMA_UNINSTALLED

Functions

NameDescription
drupal_check_moduleCheck a module's requirements.
drupal_check_profileCheck a profile's requirements.
drupal_detect_baseurlAuto detect the base_url with PHP predefined variables.
drupal_detect_database_typesDetect all databases supported by Drupal that are compiled into the current PHP installation.
drupal_get_installed_schema_versionReturns the currently installed schema version for a module.
drupal_get_install_filesGet list of all .install files.
drupal_get_schema_versionsReturns an array of available schema versions for a module.
drupal_install_fix_fileAttempt to fix file permissions.
drupal_install_mkdirCreate a directory with specified permissions.
drupal_install_modulesCalls the install function and updates the system table for a given list of modules.
drupal_install_profile_nameLoads the profile definition, extracting the profile's defined name.
drupal_install_systemCallback to install the system module.
drupal_load_updatesInitialize the update system by loading all installed module's .install files.
drupal_requirements_severityExtract highest severity from requirements array.
drupal_rewrite_settingsRead settings.php into a buffer line by line, changing values specified in $settings array, then over-writing the old settings.php file.
drupal_set_installed_schema_versionUpdate the installed version information for a module.
drupal_uninstall_moduleCalls the uninstall function and updates the system table for a given module.
drupal_verify_install_fileVerify the state of the specified file.
drupal_verify_profileVerify a profile for installation.
install_gotoSend the user to a different installer page. This issues an on-site HTTP redirect. Messages (and errors) are erased.
stHardcoded function for doing the equivalent of t() during the install process, when database, theme, and localization system is possibly not yet available.
_drupal_install_moduleCallback to install an individual profile module.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.