Server IP : 52.91.253.208 / Your IP : 18.117.99.71 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/custom-php-settings/ |
Upload File : |
<?php /** * Plugin Name: Custom PHP settings * Description: Customize PHP settings. * Version: 1.2.7 * Author: Cyclonecode * Author URI: https://stackoverflow.com/users/1047662/cyclonecode?tab=profile * Copyright: Cyclonecode * License: GPLv2 or later * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: custom-php-settings * Domain Path: /languages * * @package custom-php-settings * @author custom-php-settings */ namespace CustomPhpSettings; /** * Exit if accessed directly. */ if (!defined('ABSPATH')) { exit; } define('CUSTOM_PHP_SETTINGS_PLUGIN_DIR', plugin_dir_path(__FILE__)); require_once CUSTOM_PHP_SETTINGS_PLUGIN_DIR . '/admin/custom-php-settings.php'; add_action('plugins_loaded', function () { if (is_admin()) { CustomPhpSettings::getInstance(); } }); register_activation_hook(__FILE__, array('CustomPhpSettings\CustomPhpSettings', 'activate')); register_deactivation_hook(__FILE__, array('CustomPhpSettings\CustomPhpSettings', 'deActivate')); register_uninstall_hook(__FILE__, array('CustomPhpSettings\CustomPhpSettings', 'delete'));