1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

More notice removal

This commit is contained in:
Cameron 2012-12-07 15:42:54 -08:00
parent 9b1543ec2c
commit f97af6e6b6
2 changed files with 5 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class ecache {
if(($ForceCache != false ) || ($syscache == false && $this->UserCacheActive) || ($syscache == true && $this->SystemCacheActive) && !e107::getParser()->checkHighlighting())
{
$cache_file = (isset($this) && $this instanceof ecache ? $this->cache_fname($CacheTag, $syscache) : ecache::cache_fname($CacheTag, $syscache));
file_put_contents($cache_file, ($bRaw? $Data : self::CACHE_PREFIX.$Data) );
@file_put_contents($cache_file, ($bRaw? $Data : self::CACHE_PREFIX.$Data) );
@chmod($cache_file, 0755); //Cache should not be world-writeable
@touch($cache_file);
}

View File

@ -765,6 +765,10 @@ class e_navigation
/* echo "<h1>".$name." ($plug)</h1>";
print_a($plugs->plug_vars);*/
if(!varset($plugs->plug_vars['adminLinks']['link']))
{
continue;
}
foreach($plugs->plug_vars['adminLinks']['link'] as $tag)
{