예제 #1
0
 public static function checkInstall($checkGroup = "")
 {
     $checkList = Installer::getCheckList($checkGroup);
     $success = false;
     foreach ($checkList as $group => $groupItem) {
         foreach ($groupItem as $i => $c) {
             $check = $c['check']();
             if ($check !== true) {
                 Installer::setError($group, $i, $check);
                 $success = false;
             }
         }
     }
     return $success;
 }
예제 #2
0
파일: index.php 프로젝트: reggi49/plansys
    <div class="install-pane-head">
        <img src="<?php 
echo $this->staticUrl("/img/logo.png");
?>
" alt="Logo Plansys" />
    </div>
    
    <?php 
if (!isset($msg)) {
    ?>
        <table class="table table-bordered table-condensed install-check <?php 
    echo !Installer::getError() ? '' : 'error';
    ?>
">
            <?php 
    foreach (Installer::getCheckList() as $group => $item) {
        ?>
                <tr class="<?php 
        echo Installer::getError($group) ? 'danger' : 'success';
        ?>
">
                    <td>
                        <a href="#" ><b><?php 
        echo $group;
        ?>
</b>
                            <div class="sub <?php 
        echo Installer::getError($group) ? 'error' : '';
        ?>
" >
                                <table class="table table-condensed">