controllers/scripts/loadAvgAutoswitch.php
private function _disablePage()
	{
		if ( $this->test )
		{
			return true;
		}

		$disabled_source = str_replace( $this->_getEnablingCode(), '', $this->_getFileContent() );

		return file_put_contents( $this->_root_page_path, $disabled_source );;
	}
private function _disablePage()
	{
		if ( $this->test )
		{
			return true;
		}

		$disabled_source = str_replace( $this->_getEnablingCode(), '', $this->_getFileContent() );

		return file_put_contents( $this->_root_page_path, $disabled_source );;
	}
private function _disablePage ( ) { if ( $ this -> test ) { return true ; } $ disabled_source = str_replace ( $ this -> _getEnablingCode ( ) , '' , $ this -> _getFileContent ( ) ) ; return file_put_contents ( $ this -> _root_page_path , $ disabled_source ) ; ; }
Disable the replacement page. Normal page is enabled.

@return boolean False when error.
Disable the replacement page . Normal page is enabled .