public/wordpress/wp-content/plugins/backupbuddy/destinations/live/live_periodic.php
// Replaces file paths with variables.
Replaces file paths with variables.
Replaces file paths with variables .
public static function _fileToVar( $string ) {
		if ( null === self::$_fileVars ) {
			self::_calculateFileVars();
		}
		foreach( self::$_fileVars as $fileVar => $fileValue ) {
			$string = str_replace( $fileValue, $fileVar, $string );
		}
		return $string;
	}
public static function _fileToVar ( $ string ) { if ( null === self :: $ _fileVars ) { self :: _calculateFileVars ( ) ; } foreach ( self :: $ _fileVars as $ fileVar => $ fileValue ) { $ string = str_replace ( $ fileValue , $ fileVar , $ string ) ; } return $ string ; }
Replaces file paths with variables.
Replaces file paths with variables .