Exemplo n.º 1
0
function funky_cache_folder_is_root()
{
    return '/' == funky_cache_folder();
}
Exemplo n.º 2
0
      rewrite ^/$ <?php 
echo URI_PUBLIC;
echo trim(funky_cache_folder(), '/');
echo URI_PUBLIC;
?>
index<?php 
echo funky_cache_suffix();
?>
 last;
  }

  # Check for other cached pages from static cache folder.
  if (-f $document_root<?php 
echo URI_PUBLIC;
echo trim(funky_cache_folder(), '/');
?>
$request_uri) {
      rewrite (.*) <?php 
echo URI_PUBLIC;
echo trim(funky_cache_folder(), '/');
?>
$request_uri last;
  }
</pre></code>

<p>
    <?php 
echo __('If you have translated the rewrite rules to another platform, please let the maintainer of this plugin know.');
?>
</p>