Exemple #1
0
 /**
  * Конструктор
  *
  * @param Cfg $config
  * @param string $type
  */
 function __construct($config, $type = 'pics')
 {
     if ($type == 'pics') {
         $this->pathImage = $config->getConstantPathStaticPics();
         $this->urlImage = $config->getConstantUrlStaticPics();
     }
     $this->pathWatermark = $config->getConstantPathStaticImg() . '/watermarks/';
 }