28 protected $title =
'Initialize database tables for the File Abstraction Layer (FAL)';
49 $description =
'Create the database tables which are required for the File Abstraction Layer in order to work. Do this as the first step for all further wizards related to FAL.';
62 foreach ($updates as $update) {
63 $GLOBALS[
'TYPO3_DB']->admin_query($update);
64 $dbQueries[] = $update;
75 $requiredUpdates = array();
79 $FDfile = $this->installerSql->getFieldDefinitions_fileContent($fileContent);
80 $FDdb = $this->installerSql->getFieldDefinitions_database(TYPO3_db);
81 $diff = $this->installerSql->getDatabaseExtra($FDfile, $FDdb);
82 $update_statements = $this->installerSql->getUpdateSuggestions($diff);
83 foreach ((array) $update_statements[
'create_table'] as $string) {
84 if (preg_match(
'/^CREATE TABLE sys_file($|_)?/', $string)) {
85 $requiredUpdates[] = $string;
88 return $requiredUpdates;
static extPath($key, $script='')
static makeInstance($className)
static getUrl($url, $includeHeader=0, $requestHeaders=FALSE, &$report=NULL)
performUpdate(array &$dbQueries, &$customMessages)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
checkForUpdate(&$description)