Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/classes/setup/endpoints/CheckTMAllowed.php
Назад
<?php namespace WPML\Setup\Endpoint; use WPML\Ajax\IHandler; use WPML\Collect\Support\Collection; use WPML\FP\Either; use WPML\Plugins; use WPML\Setup\Option; class CheckTMAllowed implements IHandler { public function run( Collection $data ) { $isTMAllowed = Option::isTMAllowed(); if ( $isTMAllowed === null ) { $isTMAllowed = Plugins::isTMAllowed(); Option::setTMAllowed( $isTMAllowed ); } return Either::right( $isTMAllowed ); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка