Последняя активность 6 months ago

waja ревизий этого фрагмента 10 years ago. К ревизии

1 file changed, 36 insertions

extended-live-archives.diff(файл создан)

@@ -0,0 +1,36 @@
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;
Новее Позже