Sindbad~EG File Manager

Current Path : /home/julesbu/www/wp-content/plugins/sg-cachepress/core/Install_Service/
Upload File :
Current File : /home/julesbu/www/wp-content/plugins/sg-cachepress/core/Install_Service/Install_Cleanup.php

<?php
namespace SiteGround_Optimizer\Install_Service;
use SiteGround_Optimizer\Htaccess\Htaccess;
use SiteGround_Optimizer\Options\Options;

class Install_Cleanup {

	/**
	 * Run the install procedure.
	 *
	 * @since 5.5.4
	 */
	public static function cleanup() {
		$htaccess = new Htaccess();

		if ( ! Options::is_enabled( 'siteground_optimizer_enable_browser_caching' ) ) {
			$htaccess->disable( 'browser-caching' );
		}

		if ( ! Options::is_enabled( 'siteground_optimizer_enable_gzip_compression' ) ) {
			$htaccess->disable( 'gzip' );
		}
	}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists