* Delect instal step2 check gd.
This commit is contained in:
@@ -75,7 +75,6 @@ class install extends control
|
||||
$this->view->zlibResult = $this->install->checkZlib();
|
||||
$this->view->curlResult = $this->install->checkCurl();
|
||||
$this->view->filterResult = $this->install->checkFilter();
|
||||
$this->view->gdResult = $this->install->checkGD();
|
||||
$this->view->iconvResult = $this->install->checkIconv();
|
||||
$this->view->tmpRootInfo = $this->install->getTmpRoot();
|
||||
$this->view->tmpRootResult = $this->install->checkTmpRoot();
|
||||
|
||||
@@ -154,17 +154,6 @@ class installModel extends model
|
||||
return $result = extension_loaded('filter') ? 'ok' : 'fail';
|
||||
}
|
||||
|
||||
/**
|
||||
* Check gd extension.
|
||||
*
|
||||
* @access public
|
||||
* @return string ok|fail
|
||||
*/
|
||||
public function checkGD()
|
||||
{
|
||||
return $result = extension_loaded('gd') ? 'ok' : 'fail';
|
||||
}
|
||||
|
||||
/**
|
||||
* Check iconv extension.
|
||||
*
|
||||
|
||||
@@ -77,12 +77,6 @@
|
||||
<td class='<?php echo $filterResult;?>'><?php echo $lang->install->$filterResult;?></td>
|
||||
<td class='text-left f-12px'><?php if($filterResult == 'fail') echo $lang->install->filterFail;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->install->gd;?></th>
|
||||
<td><?php $gdResult == 'ok' ? printf($lang->install->loaded) : printf($lang->install->unloaded);?></td>
|
||||
<td class='<?php echo $gdResult;?>'><?php echo $lang->install->$gdResult;?></td>
|
||||
<td class='text-left f-12px'><?php if($gdResult == 'fail') echo $lang->install->gdFail;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->install->iconv;?></th>
|
||||
<td><?php $iconvResult == 'ok' ? printf($lang->install->loaded) : printf($lang->install->unloaded);?></td>
|
||||
@@ -164,7 +158,6 @@
|
||||
$zlibResult == 'ok' and
|
||||
$curlResult == 'ok' and
|
||||
$filterResult == 'ok' and
|
||||
$gdResult == 'ok' and
|
||||
$iconvResult == 'ok')
|
||||
{
|
||||
echo html::a($this->createLink('install', 'step2'), $lang->install->next, '', "class='btn btn-primary'");
|
||||
|
||||
Reference in New Issue
Block a user