Файловый менеджер - Редактировать - /var/www/iplanru/data/www/i-plan.ru/administrator/components/com_zoo/installation/updates/2.4.8.php
Назад
<?php /** * @package com_zoo * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) YOOtheme GmbH * @license http://www.gnu.org/licenses/gpl.html GNU/GPL */ class Update248 implements iUpdate { /* Function: getNotifications Get preupdate notifications. Returns: Array - messages */ public function getNotifications($app) {} /* Function: run Performs the update. Returns: bool - true if updated successful */ public function run($app) { // change elements field to type LONGTEXT $fields = $app->database->getTableColumns(ZOO_TABLE_ITEM); if (isset($fields[ZOO_TABLE_ITEM]) && array_key_exists('elements', $fields[ZOO_TABLE_ITEM])) { if ($fields[ZOO_TABLE_ITEM]['elements'] != 'longtext') { $app->database->query('ALTER TABLE '.ZOO_TABLE_ITEM.' MODIFY elements LONGTEXT NOT NULL'); } } } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка