Changeset 11388 for trunk/wp-admin/cache-manifest.php
- Timestamp:
- 05/18/2009 08:29:26 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/cache-manifest.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/cache-manifest.php
r11076 r11388 16 16 /** Set ABSPATH for execution */ 17 17 define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); 18 define( 'WPINC', 'wp-includes' );19 18 20 19 require(ABSPATH . '/wp-admin/includes/manifest.php'); 21 20 22 $man_version = ''; 23 24 $files = get_manifest($man_version); 25 26 $man_version = md5($man_version); 21 $files = get_manifest(); 27 22 28 23 header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' ); … … 32 27 header( 'Content-Type: text/cache-manifest; charset=UTF-8' ); 33 28 ?> 34 CACHE MANIFEST 35 # 36 # Version: <?php echo $man_version; ?> _2008071037 # 29 CACHE MANIFEST 30 # 31 # Version: <?php echo $man_version; ?> 32 # 38 33 <?php 39 34 foreach ( $files as $file ) { … … 43 38 // If ver is set but ignoreQuery is not, output file with ver tacked on 44 39 else 45 echo $file[0] . '? ver=' . $file[1] . "\n";40 echo $file[0] . '?' . $file[1] . "\n"; 46 41 } 47 42
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)