From 2ec7d0cd9a4548048ff6ab8c978ca90c105f0b0d Mon Sep 17 00:00:00 2001 From: DMITRIY SANNIKOV Date: Wed, 10 Jul 2019 13:51:15 +0500 Subject: [PATCH] Update camshoter.class.php minor fixes --- modules/camshoter/camshoter.class.php | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/modules/camshoter/camshoter.class.php b/modules/camshoter/camshoter.class.php index e2237f2..b3f3208 100644 --- a/modules/camshoter/camshoter.class.php +++ b/modules/camshoter/camshoter.class.php @@ -199,17 +199,26 @@ function admin(&$out) { //$out['er']=$this->owner->action; //$out['er']='12'; - - if (($this->tab=='preview')&&($this->owner->action=='camshoter')) { +/* + if ( +(($this->tab=='preview')&&($this->owner->action=='camshoter') +|| +($this->owner->action=='apps') +&&$this->tab<>'devcount' ) +) +*/ +echo $this->owner->action; +if ($this->tab<>'devcount') + { $gfolder=ROOT."cms/cached/nvr/last/"; $files=$this->getusers($gfolder); //print_r($files); //jpeg $out['FILES']=$files; +} else - -} - +// if ($this->owner->action=='apps') +