Пример #1
0
 /**
  * Checks if there are leftovers from an install that need user attention.
  * Triggered to run after every panel login.
  *
  * @return string - an alert with instructions
  */
 protected function install_cleanup()
 {
     if (is_file('../firstrun.php')) {
         $str = '<strong>firstrun.php</strong> is present in your main Grawlix directory. You should delete this file as a safety measure.';
         $alert = new GrlxAlert();
         $alert->special_id('cleanup-close');
         $message = $alert->warning_dialog($str);
     }
     return $message;
 }