kopia lustrzana https://github.com/magicbug/Cloudlog
{Welcome to Cloudlog V2] Started writing the welcome page
rodzic
6f8d07e1cd
commit
2628e46d1b
|
@ -0,0 +1,20 @@
|
|||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
Path: application\controllers\Welcome.php
|
||||
|
||||
Displays the welcome to Cloudlog version 2.0 view to help users with migration from version 1.0
|
||||
*/
|
||||
|
||||
|
||||
class Welcome extends CI_Controller {
|
||||
|
||||
public function index()
|
||||
{
|
||||
$data['page_title'] = "Welcome to Cloudlog Version 2.0";
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
$this->load->view('welcome/index');
|
||||
$this->load->view('interface_assets/footer');
|
||||
}
|
||||
}
|
|
@ -0,0 +1,50 @@
|
|||
<div class="container">
|
||||
|
||||
<br>
|
||||
|
||||
<?php if($this->session->flashdata('message')) { ?>
|
||||
<!-- Display Message -->
|
||||
<div class="alert-message error">
|
||||
<p><?php echo $this->session->flashdata('message'); ?></p>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
|
||||
<p class="lead">After many years and hard work Cloudlog version 2.0 has finally arrived, this brings multi-user support, logbooks to group station locations, improved code with lots of speed increases sprinkled around.</p>
|
||||
<p class="lead">I'd like to thank Andreas (LA8AJA) and Flo (DF2ET) for helping getting this over the finish line.</p>
|
||||
<p class="lead">This guide is to help you get your installation configured to work with all the new features please follow it!</p>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<span class="badge badge-danger">File Change</span> /index.php - Turn off debugging messages
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-text">While some users love seeing errors even the development messages most don't so we recommend turning it off..</p>
|
||||
|
||||
<p class="card-text">Edit <span class="badge badge-dark">/index.php</span> and find <code>define('ENVIRONMENT', 'development');</code> and replace with</p>
|
||||
|
||||
<code>
|
||||
define('ENVIRONMENT', 'production');
|
||||
</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<span class="badge badge-danger">File Change</span> /application/config/config.php - Changes
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-text">As part of fully supporting multi-user, we recommend making some changes to the role names as shown below, "Operators" do not have the admin features.</p>
|
||||
|
||||
<p class="card-text">Edit <span class="badge badge-dark">/application/config/config.php</span> and find $config['auth_level'] and replace the options with only the ones below.</p>
|
||||
|
||||
<code>
|
||||
$config['auth_level'][3] = "Operator";<br>
|
||||
$config['auth_level'][99] = "Administrator";
|
||||
</code>
|
||||
</div>
|
||||
|
||||
</div>
|
Ładowanie…
Reference in New Issue