Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/Math/src/HookHandlers/SchemaHooksHandler.php
Ðазад
<?php namespace MediaWiki\Extension\Math\HookHandlers; use MediaWiki\Installer\DatabaseUpdater; use MediaWiki\Installer\Hook\LoadExtensionSchemaUpdatesHook; /** * Hook handler for schema hook */ class SchemaHooksHandler implements LoadExtensionSchemaUpdatesHook { /** * LoadExtensionSchemaUpdates handler; set up math table on install/upgrade. * * @param DatabaseUpdater $updater */ public function onLoadExtensionSchemaUpdates( $updater ) { $type = $updater->getDB()->getType(); if ( !in_array( $type, [ 'mysql', 'sqlite', 'postgres' ], true ) ) { return; } foreach ( [ 'mathoid', 'mathlatexml' ] as $mode ) { $updater->dropExtensionTable( $mode ); } } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка