Jump to content

Proiyke

New Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Proiyke

  1. This is the code;

      <!--  contents area start  -->
        <div class="row">
            <div class="col-md-12">
             <hr>
                <div class="table-responsive">
                    <div class="">
                        <div class="col-lg-12 col-md-12">
                        <?php
                            if (!file_exists("../lib/config.ini.php")) {
                                  if (file_exists("install.php")) {
                                      header("Location: install.php");
                                  } else {
                                      die("<div style='text-align:center'>" 
                                          . "<span style='padding: 5px; border: 1px solid #999; background-color:#EFEFEF;" 
                                          . "font-family: Verdana; font-size: 11px; margin-left:auto; margin-right:auto; display:inline-block'>" 
                                          . "<b>Attention:</b>The configuration file is missing and a new installation cannot be started because the install file cannot be located</span></div>");
                                  }
                              } elseif (file_exists("update.php")) {
                                  header("Location: update.php");
                              } else {
                                  die("<div class='alert alert-warning'>" 
                                      . "<button type='button' class='close' data-dismiss='alert' aria-label='Close'> <span aria-hidden='true'>&times;</span> </button>" 
                                      . "<h3 class='text-warning'><i class='fa fa-exclamation-triangle'></i> Warning</h3> <b>Attention:</b> The file config.ini.php already exists!<br>If you want to reinstall Advanced Login System you must first delete the config.ini.php</div>");
                              }
                        ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!--  contents area end  -->
    </div>

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.