CoreFiles by mySites.guru
gears-manifest.php56 lines, 1,515 bytes, from wordpress-2.8-beta1.zip
Raw History Compare with 2.7.1-beta1
md5
99350ee9bf6323de40e1fe989d6d468c
sha1
a2670b00d15c46a8ee30c3f00ff7c954493565cf
sha256
977756a40f3d2d396b43b52768340a059494a0e6091f61fd42d99bcbcdffff19
<?php
/**
 * Defines the Gears manifest file for Google Gears offline storage.
 *
 * @package WordPress
 * @subpackage Administration
 */

/**
 * Disable error reporting
 *
 * Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging
 */
error_reporting(0);

/** Set ABSPATH for execution */
define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' );
define( 'WPINC', 'wp-includes' );

require(ABSPATH . '/wp-admin/includes/manifest.php');

$man_version = '';

$files = get_manifest($man_version);

$man_version = md5($man_version);

header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-cache, must-revalidate, max-age=0' );
header( 'Pragma: no-cache' );
header( 'Content-Type: application/x-javascript; charset=UTF-8' );
?>
{
"betaManifestVersion" : 1,
"version" : "<?php echo $man_version; ?>_20081201",
"entries" : [
<?php
$entries = '';

foreach ( $files as $file ) {
	// If version is not set, just output the file
	if ( !isset($file[1]) )
		$entries .= '{ "url" : "' . $file[0] . '" },' . "\n";
	// If ver is set but ignoreQuery is not, output file with ver tacked on
	elseif ( !isset($file[2]) )
		$entries .= '{ "url" : "' . $file[0] . '?ver=' . $file[1] . '" },' . "\n";
	// Output url, src, and ignoreQuery
	else
		$entries .= '{ "url" : "' . $file[0] . '", "src" : "' . $file[0] . '?ver=' . $file[1] . '", "ignoreQuery" : true },' . "\n";
}

echo trim( trim($entries), ',' );
?>

]}

No other release has this exact content. See every version of this file.