mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 17:39:46 +01:00
More notice removal
This commit is contained in:
parent
9b1543ec2c
commit
f97af6e6b6
@ -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);
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user