extended-live-archives.diff
· 1.8 KiB · Diff
Sin formato
diff -Nur orig/af-extended-live-archive-options.php af-extended-live-archive-options.php
--- orig/af-extended-live-archive-options.php 2006-02-22 19:06:00.000000000 +0100
+++ af-extended-live-archive-options.php 2006-05-26 22:47:28.000000000 +0200
@@ -7,7 +7,7 @@
*/
include_once(ABSPATH . WPINC . '/class-snoopy.php');
-$af_ela_cache_root = ABSPATH . 'wp-content/af-extended-live-archive/';
+$af_ela_cache_root = ABSPATH . 'wp-content/af-extended-live-archive/' . $_SERVER["SERVER_NAME"] .'/';
function af_ela_info($show='') {
switch($show) {
diff -Nur orig/af-extended-live-archive.php af-extended-live-archive.php
--- orig/af-extended-live-archive.php 2006-02-19 15:26:00.000000000 +0100
+++ af-extended-live-archive.php 2006-05-26 22:47:35.000000000 +0200
@@ -13,7 +13,7 @@
// | http://www.sonsofskadi.net/wp-content/elalicenses.txt |
// +----------------------------------------------------------------------+
*/
-$af_ela_cache_root = ABSPATH . 'wp-content/af-extended-live-archive/';
+$af_ela_cache_root = ABSPATH . 'wp-content/af-extended-live-archive/' . $_SERVER["SERVER_NAME"] .'/';
$debug = false;
$utw_is_present = false;
diff -Nur orig/includes/af-ela.php includes/af-ela.php
--- orig/includes/af-ela.php 2006-04-28 14:07:00.000000000 +0200
+++ includes/af-ela.php 2006-05-26 22:46:33.000000000 +0200
@@ -397,7 +397,7 @@
$paged_post = 0;
// the paths for the cache files and settings
- $path = ABSPATH . 'wp-content/af-extended-live-archive/';
+ $path = ABSPATH . 'wp-content/af-extended-live-archive/' . $_SERVER["SERVER_NAME"] .'/';
if (!is_dir($path)) $path = get_settings('siteurl') . '/wp-content/af-extended-live-archive/';
// get settings and construct default;
| 1 | diff -Nur orig/af-extended-live-archive-options.php af-extended-live-archive-options.php |
| 2 | --- orig/af-extended-live-archive-options.php 2006-02-22 19:06:00.000000000 +0100 |
| 3 | +++ af-extended-live-archive-options.php 2006-05-26 22:47:28.000000000 +0200 |
| 4 | @@ -7,7 +7,7 @@ |
| 5 | */ |
| 6 | |
| 7 | include_once(ABSPATH . WPINC . '/class-snoopy.php'); |
| 8 | -$af_ela_cache_root = ABSPATH . 'wp-content/af-extended-live-archive/'; |
| 9 | +$af_ela_cache_root = ABSPATH . 'wp-content/af-extended-live-archive/' . $_SERVER["SERVER_NAME"] .'/'; |
| 10 | |
| 11 | function af_ela_info($show='') { |
| 12 | switch($show) { |
| 13 | diff -Nur orig/af-extended-live-archive.php af-extended-live-archive.php |
| 14 | --- orig/af-extended-live-archive.php 2006-02-19 15:26:00.000000000 +0100 |
| 15 | +++ af-extended-live-archive.php 2006-05-26 22:47:35.000000000 +0200 |
| 16 | @@ -13,7 +13,7 @@ |
| 17 | // | http://www.sonsofskadi.net/wp-content/elalicenses.txt | |
| 18 | // +----------------------------------------------------------------------+ |
| 19 | */ |
| 20 | -$af_ela_cache_root = ABSPATH . 'wp-content/af-extended-live-archive/'; |
| 21 | +$af_ela_cache_root = ABSPATH . 'wp-content/af-extended-live-archive/' . $_SERVER["SERVER_NAME"] .'/'; |
| 22 | $debug = false; |
| 23 | $utw_is_present = false; |
| 24 | |
| 25 | diff -Nur orig/includes/af-ela.php includes/af-ela.php |
| 26 | --- orig/includes/af-ela.php 2006-04-28 14:07:00.000000000 +0200 |
| 27 | +++ includes/af-ela.php 2006-05-26 22:46:33.000000000 +0200 |
| 28 | @@ -397,7 +397,7 @@ |
| 29 | $paged_post = 0; |
| 30 | |
| 31 | // the paths for the cache files and settings |
| 32 | - $path = ABSPATH . 'wp-content/af-extended-live-archive/'; |
| 33 | + $path = ABSPATH . 'wp-content/af-extended-live-archive/' . $_SERVER["SERVER_NAME"] .'/'; |
| 34 | if (!is_dir($path)) $path = get_settings('siteurl') . '/wp-content/af-extended-live-archive/'; |
| 35 | |
| 36 | // get settings and construct default; |
| 37 |