update.php
Версия 1.211.2.3 (checked in on 2008/12/10 at 22:21:27 by drumm)
Административная страница для управления обновлениями с одной Друпал версии на другую.
Введите в браузер 'http://www.example.com/update.php'
и следуйте инструкциям.
Если вы не вошли как администратор, вы должны будете изменить оператор проверки доступа ниже ( $access_check
= TRUE
; ). Измените TRUE
на FALSE
для того, что бы выключить проверку доступа. После завершения обновления, убедитесь, что открыли этот файл и изменили обратно FALSE
на TRUE
!
Функции
Имя | Описание |
---|---|
db_add_column | Add a column to a database using syntax appropriate for PostgreSQL. Save result of SQL commands in $ret array. |
db_change_column | Change a column definition using syntax appropriate for PostgreSQL. Save result of SQL commands in $ret array. |
update_access_denied_page | |
update_convert_table_utf8 | Convert a single MySQL table to UTF-8. |
update_create_cache_tables | Create tables for the split cache. |
update_data | Perform one update and store the results which will later be displayed on the finished page. |
update_do_updates | Perform updates for one second or until finished. |
update_do_update_page | Perform updates for the JS version and return progress. |
update_finished_page | |
update_fix_access_table | |
update_fix_schema_version | If the schema version for Drupal core is stored in the variables table (4.6.x and earlier) move it to the schema_version column of the system table. |
update_fix_sessions | System update 130 changes the sessions table, which breaks the update script's ability to use session variables. This changes the table appropriately. |
update_fix_system_table | |
update_fix_watchdog | System update 142 changes the watchdog table, which breaks the update script's ability to use logging. This changes the table appropriately. |
update_fix_watchdog_115 | System update 115 changes the watchdog table, which breaks the update script's ability to use logging. This changes the table appropriately. |
update_info_page | |
update_progress_page | |
update_progress_page_nojs | Perform updates for the non-JS version and return the status page. |
update_script_selection_form | |
update_selection_page | |
update_sql | Выполняет SQL-запрос и возвращает статус результата. Используется преимущественно в hook_update_N() и остальных функциях инсталяции/обновления модулей. |
update_update_page |