6 lines
362 B
PHP
6 lines
362 B
PHP
<?php
|
|
$bizext = $this->dao->select('*')->from(TABLE_EXTENSION)->where('code')->like('bizext%')->andWhere('status')->eq('installed')->orderBy('version desc')->fetch();
|
|
$version = empty($bizext) ? $version : 'pro' . str_replace('.', '_', $bizext->version);
|
|
?>
|
|
<script type='text/javascript'>$(function(){$('#fromVersion').val('<?php echo $version?>');});</script>
|