예제 #1
0
 /**
  * Construct
  * @uses MeTools\Shell\InstallShell::__construct()
  * @uses $config
  * @uses $links
  * @uses $packages
  * @uses $paths
  */
 public function __construct()
 {
     parent::__construct();
     //Configuration files to be copied
     $this->config = am($this->config, ['MeCms.banned_ip', 'MeCms.me_cms', 'MeCms.widgets']);
     //Merges assets for which create symbolic links
     $this->links = am($this->links, ['js-cookie/js-cookie/src' => 'js-cookie', 'sunhater/kcfinder' => 'kcfinder', 'enyo/dropzone/dist' => 'dropzone']);
     $this->packages = am($this->packages, ['donatj/phpuseragentparser', 'enyo/dropzone', 'js-cookie/js-cookie:dev-master', 'matthiasmullie/minify', 'sunhater/kcfinder:dev-master', 'wyrihaximus/minify-html']);
     //Merges paths to be created and made writable
     $this->paths = am($this->paths, [Configure::read('Assets.target'), Configure::read('MysqlBackup.target'), BANNERS, PHOTOS, Configure::read('Thumbs.target'), TMP . 'login']);
 }
예제 #2
0
 /**
  * Construct
  * @uses MeTools\Shell\InstallShell::__construct()
  * @uses $config
  */
 public function __construct()
 {
     parent::__construct();
     //Configuration files to be copied
     $this->config = ['MeInstagram.me_instagram'];
 }
예제 #3
0
 /**
  * Construct
  * @uses MeTools\Shell\InstallShell::__construct()
  * @uses $config
  */
 public function __construct()
 {
     parent::__construct();
     //Configuration files to be copied
     $this->config = ['MeYoutube.me_youtube'];
 }