Mercurial > hg > lukkari
changeset 69:e370345d0562
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 24 Oct 2012 03:48:27 +0300 |
parents | 0acf6e16af93 |
children | 8109809f67cb |
files | index.php |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/index.php Wed Oct 24 03:45:28 2012 +0300 +++ b/index.php Wed Oct 24 03:48:27 2012 +0300 @@ -465,11 +465,11 @@ <div>".lukMsg("Style").": "; foreach ($pageCSSAlts as $name => $id) - echo "<a href=\"?css=".$id."\">".$name."</a>"; + echo "<a href=\"".$baseURI."?css=".$id."\">".$name."</a>"; echo "</div><div id=\"clang\">"; foreach ($pageLanguages as $id) - echo "<a href=\"?lang=".$id."\">".$id."</a>"; + echo "<a href=\"".$baseURI."?lang=".$id."\">".$id."</a>"; echo " </div> @@ -482,8 +482,6 @@ if ($cacheDirty) { $str = "<?\n\$cache = ".var_export($cache, TRUE)."\n?>"; - - // Use locking to prevent concurrent access and dump data if (file_put_contents($cacheFile, $str, LOCK_EX) === FALSE) { // Can't do much anything here .. }