Files
OMS/app/ome/lib/tgservice/version/pro.php
2025-12-28 23:13:25 +08:00

30 lines
836 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
/**
* 淘管旗舰版
*
* @package default
* @author
**/
class ome_tgservice_version_pro extends ome_tgservice_version_abstract implements ome_tgservice_version_interface{
protected $release_version = 'tg.pro';
const VERSION = 'pro';
public function install($params = array(),&$sass_params = array(),&$msg,&$is_callback = false){
$res = parent::install($params ,$sass_params ,$msg, $is_callback);
if(!empty($this->deploy_info['version'][self::VERSION])){
foreach((array)$this->deploy_info['version'][self::VERSION] as $app){
$this->shell->exec_command(sprintf("install %s",$app));
}
}
return $res;
}
}