mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
More notice removal
This commit is contained in:
@@ -166,7 +166,7 @@ class ecache {
|
|||||||
if(($ForceCache != false ) || ($syscache == false && $this->UserCacheActive) || ($syscache == true && $this->SystemCacheActive) && !e107::getParser()->checkHighlighting())
|
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));
|
$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
|
@chmod($cache_file, 0755); //Cache should not be world-writeable
|
||||||
@touch($cache_file);
|
@touch($cache_file);
|
||||||
}
|
}
|
||||||
|
@@ -765,6 +765,10 @@ class e_navigation
|
|||||||
|
|
||||||
/* echo "<h1>".$name." ($plug)</h1>";
|
/* echo "<h1>".$name." ($plug)</h1>";
|
||||||
print_a($plugs->plug_vars);*/
|
print_a($plugs->plug_vars);*/
|
||||||
|
if(!varset($plugs->plug_vars['adminLinks']['link']))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
foreach($plugs->plug_vars['adminLinks']['link'] as $tag)
|
foreach($plugs->plug_vars['adminLinks']['link'] as $tag)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user