SVN: security/index.php
shadzik
shadzik at pld-linux.org
Sun Aug 9 23:51:57 CEST 2009
Author: shadzik
Date: Sun Aug 9 23:51:57 2009
New Revision: 10462
Modified:
security/index.php
Log:
- now it works
Modified: security/index.php
==============================================================================
--- security/index.php (original)
+++ security/index.php Sun Aug 9 23:51:57 2009
@@ -3,7 +3,8 @@
$cache = file('../size.txt');
if(is_array($cache))
{
- $cache = '' . trim($cache[0]);
+ $cache2 = '' . trim($cache[0]);
+ $cache = 'cache/' . trim($cache[0]);
$cache_l = 'cache/cache.html';
if(!is_file($cache) || !is_link($cache_l))
@@ -17,7 +18,7 @@
file_put_contents($cache, $content);
unlink($cache_l);
- symlink($cache, $cache_l);
+ symlink($cache2, $cache_l);
}
}
More information about the pld-cvs-commit
mailing list