Commit c02253cc authored by wwccw0591's avatar wwccw0591

pc

parent 957a8043
...@@ -9,7 +9,7 @@ abstract class Controller_Abstract extends \Yaf\Controller_Abstract { ...@@ -9,7 +9,7 @@ abstract class Controller_Abstract extends \Yaf\Controller_Abstract {
public function init(){ public function init(){
$this->req=$this->getRequest()->getPost(); $this->req=$this->getRequest()->getPost();
$version = $this->req['data']['currentVersion']; $version = $this->req['currentVersion'];
if($version){ if($version){
define('CURRENTVERSION',$version); define('CURRENTVERSION',$version);
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment