Skip to content

Instantly share code, notes, and snippets.

@mattias-lidman
Created August 21, 2013 18:11
Show Gist options
  • Save mattias-lidman/6297944 to your computer and use it in GitHub Desktop.
Save mattias-lidman/6297944 to your computer and use it in GitHub Desktop.
diff --git a/wp-content/advanced-cache.php b/wp-content/advanced-cache.php
old mode 100755
new mode 100644
diff --git a/wp-content/blogs.dir/11/files/2012/11/GlobusWORLD2013_square.png b/wp-content/blogs.dir/11/files/2012/11/GlobusWORLD2013_square.png
deleted file mode 100644
index 487d496..0000000
Binary files a/wp-content/blogs.dir/11/files/2012/11/GlobusWORLD2013_square.png and /dev/null differ
diff --git a/wp-content/themes/thematic/index.php b/wp-content/themes/thematic/index.php
index 2d32d75..e01cfb3 100755
--- a/wp-content/themes/thematic/index.php
+++ b/wp-content/themes/thematic/index.php
@@ -1,59 +1,59 @@
-<?php
-
- // calling the header.php
- get_header();
-
- // action hook for placing content above #container
- thematic_abovecontainer();
-
-?>
-
- <div id="container">
-
- <?php thematic_abovecontent(); ?>
-
- <div id="content">
-
- <?php
-
- // create the navigation above the content
- thematic_navigation_above();
-
- // calling the widget area 'index-top'
- get_sidebar('index-top');
-
- // action hook for placing content above the index loop
- thematic_above_indexloop();
-
- // action hook creating the index loop
- thematic_indexloop();
-
- // action hook for placing content below the index loop
- thematic_below_indexloop();
-
- // calling the widget area 'index-bottom'
- get_sidebar('index-bottom');
-
- // create the navigation below the content
- thematic_navigation_below();
-
- ?>
-
- </div><!-- #content -->
-
- <?php thematic_belowcontent(); ?>
-
- </div><!-- #container -->
-
-<?php
-
- // action hook for placing content below #container
- thematic_belowcontainer();
-
- // calling the standard sidebar
- thematic_sidebar();
-
- // calling footer.php
- get_footer();
-
+<?php
+
+ // calling the header.php
+ get_header();
+
+ // action hook for placing content above #container
+ thematic_abovecontainer();
+
+?>
+
+ <div id="container">
+
+ <?php thematic_abovecontent(); ?>
+
+ <div id="content">
+
+ <?php
+
+ // create the navigation above the content
+ thematic_navigation_above();
+
+ // calling the widget area 'index-top'
+ get_sidebar('index-top');
+
+ // action hook for placing content above the index loop
+ thematic_above_indexloop();
+
+ // action hook creating the index loop
+ thematic_indexloop();
+
+ // action hook for placing content below the index loop
+ thematic_below_indexloop();
+
+ // calling the widget area 'index-bottom'
+ get_sidebar('index-bottom');
+
+ // create the navigation below the content
+ thematic_navigation_below();
+
+ ?>
+
+ </div><!-- #content -->
+
+ <?php thematic_belowcontent(); ?>
+
+ </div><!-- #container -->
+
+<?php
+
+ // action hook for placing content below #container
+ thematic_belowcontainer();
+
+ // calling the standard sidebar
+ thematic_sidebar();
+
+ // calling footer.php
+ get_footer();
+
?>
\ No newline at end of file
diff --git a/wp-content/themes/theme-ci/index.php b/wp-content/themes/theme-ci/index.php
index 7bc3fd4..913bbad 100755
--- a/wp-content/themes/theme-ci/index.php
+++ b/wp-content/themes/theme-ci/index.php
@@ -1,32 +1,32 @@
-<?php
-/**
- * The main template file.
- *
- * This is the most generic template file in a WordPress theme
- * and one of the two required files for a theme (the other being style.css).
- * It is used to display a page when nothing more specific matches a query.
- * E.g., it puts together the home page when no home.php file exists.
- * Learn more: http://codex.wordpress.org/Template_Hierarchy
- *
- * @package WordPress
- * @subpackage Twenty_Ten
- * @since Twenty Ten 1.0
- */
-
-get_header(); ?>
-
- <div id="container">
- <div id="content" role="main">
-
- <?php
- /* Run the loop to output the posts.
- * If you want to overload this in a child theme then include a file
- * called loop-index.php and that will be used instead.
- */
- get_template_part( 'loop', 'index' );
- ?>
- </div><!-- #content -->
- </div><!-- #container -->
-
-<?php get_sidebar(); ?>
-<?php get_footer(); ?>
+<?php
+/**
+ * The main template file.
+ *
+ * This is the most generic template file in a WordPress theme
+ * and one of the two required files for a theme (the other being style.css).
+ * It is used to display a page when nothing more specific matches a query.
+ * E.g., it puts together the home page when no home.php file exists.
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Ten
+ * @since Twenty Ten 1.0
+ */
+
+get_header(); ?>
+
+ <div id="container">
+ <div id="content" role="main">
+
+ <?php
+ /* Run the loop to output the posts.
+ * If you want to overload this in a child theme then include a file
+ * called loop-index.php and that will be used instead.
+ */
+ get_template_part( 'loop', 'index' );
+ ?>
+ </div><!-- #content -->
+ </div><!-- #container -->
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/wp-content/themes/theme-globusOnline/index.php b/wp-content/themes/theme-globusOnline/index.php
index 265bbe2..4ab0892 100755
--- a/wp-content/themes/theme-globusOnline/index.php
+++ b/wp-content/themes/theme-globusOnline/index.php
@@ -1,58 +1,57 @@
-<?php
-
-
- // calling the header.php
- get_header();
-
- // action hook for placing content above #container
- thematic_abovecontainer();
-
-?>
- <div id="main">
- <div id="container">
-
- <?php thematic_abovecontent(); ?>
-
- <div id="content">
- <?php
-
- // create the navigation above the content
- thematic_navigation_above();
-
- // calling the widget area 'index-top'
- get_sidebar('index-top');
-
- // action hook for placing content above the index loop
- thematic_above_indexloop();
-
- // action hook creating the index loop
- thematic_indexloop();
-
- // action hook for placing content below the index loop
- thematic_below_indexloop();
-
- // calling the widget area 'index-bottom'
- get_sidebar('index-bottom');
-
- // create the navigation below the content
- thematic_navigation_below();
-
- ?>
- </div><!-- #content -->
-
- <?php thematic_belowcontent(); ?>
-
- </div><!-- #container -->
-
-<?php
-
- // action hook for placing content below #container
- thematic_belowcontainer();
-
- // calling the standard sidebar
- thematic_sidebar();
-
- // calling footer.php
- get_footer();
-
+<?php
+
+ // calling the header.php
+ get_header();
+
+ // action hook for placing content above #container
+ thematic_abovecontainer();
+
+?>
+ <div id="main">
+ <div id="container">
+
+ <?php thematic_abovecontent(); ?>
+
+ <div id="content">
+ <?php
+
+ // create the navigation above the content
+ thematic_navigation_above();
+
+ // calling the widget area 'index-top'
+ get_sidebar('index-top');
+
+ // action hook for placing content above the index loop
+ thematic_above_indexloop();
+
+ // action hook creating the index loop
+ thematic_indexloop();
+
+ // action hook for placing content below the index loop
+ thematic_below_indexloop();
+
+ // calling the widget area 'index-bottom'
+ get_sidebar('index-bottom');
+
+ // create the navigation below the content
+ thematic_navigation_below();
+
+ ?>
+ </div><!-- #content -->
+
+ <?php thematic_belowcontent(); ?>
+
+ </div><!-- #container -->
+
+<?php
+
+ // action hook for placing content below #container
+ thematic_belowcontainer();
+
+ // calling the standard sidebar
+ thematic_sidebar();
+
+ // calling footer.php
+ get_footer();
+
?>
\ No newline at end of file
diff --git a/wp-content/wp-cache-config.php b/wp-content/wp-cache-config.php
old mode 100755
new mode 100644
index be7f284..7b920ca
--- a/wp-content/wp-cache-config.php
+++ b/wp-content/wp-cache-config.php
@@ -5,63 +5,33 @@ WP-Cache Config Sample File
See wp-cache.php for author details.
*/
-$cache_time_interval = '3600'; //Added by WP-Cache Manager
-$cache_scheduled_time = '00:00'; //Added by WP-Cache Manager
-$cache_schedule_type = 'interval'; //Added by WP-Cache Manager
-$wp_cache_make_known_anon = 0; //Added by WP-Cache Manager
-$wp_cache_home_path = '/'; //Added by WP-Cache Manager
-$cache_page_secret = '45b0da5e8c85a28e4bd7c6e1c82d56fc'; //Added by WP-Cache Manager
-$wp_cache_preload_on = 0; //Added by WP-Cache Manager
-$wp_cache_preload_email_volume = 'many'; //Added by WP-Cache Manager
-$wp_cache_preload_email_me = 0; //Added by WP-Cache Manager
-$wp_cache_preload_interval = 0; //Added by WP-Cache Manager
-$wp_cache_preload_posts = 'all'; //Added by WP-Cache Manager
$cache_domain_mapping = '1'; //Added by WP-Cache Manager
$wp_cache_mobile_groups = ''; //Added by WP-Cache Manager
$wp_cache_mobile_prefixes = 'w3c , w3c-, acs-, alav, alca, amoi, audi, avan, benq, bird, blac, blaz, brew, cell, cldc, cmd-, dang, doco, eric, hipt, htc_, inno, ipaq, ipod, jigs, kddi, keji, leno, lg-c, lg-d, lg-g, lge-, lg/u, maui, maxo, midp, mits, mmef, mobi, mot-, moto, mwbp, nec-, newt, noki, palm, pana, pant, phil, play, port, prox, qwap, sage, sams, sany, sch-, sec-, send, seri, sgh-, shar, sie-, siem, smal, smar, sony, sph-, symb, t-mo, teli, tim-, tosh, tsm-, upg1, upsi, vk-v, voda, wap-, wapa, wapi, wapp, wapr, webc, winw, winw, xda , xda-'; //Added by WP-Cache Manager
$wp_cache_refresh_single_only = '0'; //Added by WP-Cache Manager
+$wp_cache_make_known_anon = 0; //Added by WP-Cache Manager
$wp_cache_mod_rewrite = 0; //Added by WP-Cache Manager
$wp_cache_front_page_checks = 0; //Added by WP-Cache Manager
$wp_supercache_304 = 0; //Added by WP-Cache Manager
+$cache_page_secret = '85a2ec3944aaaea36461337011c6e9ed'; //Added by WP-Cache Manager
+$wp_cache_home_path = '/'; //Added by WP-Cache Manager
$wp_cache_slash_check = 1; //Added by WP-Cache Manager
if ( ! defined('WPCACHEHOME') )
define( 'WPCACHEHOME', WP_CONTENT_DIR . "/plugins/wp-super-cache/" ); //Added by WP-Cache Manager
-$cache_compression = 0; //Added by WP-Cache Manager
+$cache_compression = 0; // Super cache compression
$cache_enabled = true; //Added by WP-Cache Manager
$super_cache_enabled = true; //Added by WP-Cache Manager
$cache_max_time = 3600; //in seconds
//$use_flock = true; // Set it true or false if you know what to use
$cache_path = WP_CONTENT_DIR . '/cache/';
$file_prefix = 'wp-cache-';
-$ossdlcdn = 0; //Added by WP-Cache Manager
-
-// We want to be able to identify each blog in a WordPress MU install
-$blogcacheid = '';
-if( defined( 'VHOST' ) ) {
- $blogcacheid = 'blog'; // main blog
- if( constant( 'VHOST' ) == 'yes' ) {
- $blogcacheid = $_SERVER['HTTP_HOST'];
- } else {
- $request_uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '..', '', $_SERVER['REQUEST_URI'] ) );
- if( strpos( $request_uri, '/', 1 ) ) {
- if( $base == '/' ) {
- $blogcacheid = substr( $request_uri, 1, strpos( $request_uri, '/', 1 ) - 1 );
- } else {
- $blogcacheid = str_replace( $base, '', $request_uri );
- $blogcacheid = substr( $blogcacheid, 0, strpos( $blogcacheid, '/', 1 ) );
- }
- if ( '/' == substr($blogcacheid, -1))
- $blogcacheid = substr($blogcacheid, 0, -1);
- }
- $blogcacheid = str_replace( '/', '', $blogcacheid );
- }
-}
+$ossdlcdn = 0;
// Array of files that have 'wp-' but should still be cached
$cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' );
-$cache_rejected_uri = array ( 0 => 'wp-.*\\.php', 1 => 'index\\.php', 2 => 'https', ); //Added by WP-Cache Manager
+$cache_rejected_uri = array('wp-.*\\.php', 'index\\.php');
$cache_rejected_user_agent = array ( 0 => 'bot', 1 => 'ia_archive', 2 => 'slurp', 3 => 'crawl', 4 => 'spider', 5 => 'Yandex' );
$cache_rebuild_files = 1; //Added by WP-Cache Manager
@@ -72,7 +42,7 @@ $cache_rebuild_files = 1; //Added by WP-Cache Manager
$wp_cache_mutex_disabled = 1; //Added by WP-Cache Manager
// Just modify it if you have conflicts with semaphores
-$sem_id = 1779257749; //Added by WP-Cache Manager
+$sem_id = 52026961; //Added by WP-Cache Manager
if ( '/' != substr($cache_path, -1)) {
$cache_path .= '/';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment