title: Message: Undefined property: CI_Loader::$general_settings
body: <p>Framework: codeigniter</p>
  <p>Actually am facing some issue. I created an admin panel where I can change the logo of the site and it works in the panel but if I load the logo on the website index page but if I load logo in website index page then it will returns this error.</p>
  <p>A PHP Error was encountered
  Severity: Notice</p>
  <p>Message: Undefined property: CI_Loader::$general_settings</p>
  <p>Filename: views/index.php</p>
  <p>Line Number: 6</p>
  <p>Backtrace:</p>
  <p>File: C:\xampp\htdocs\hrdk\application\views\index.php
  Line: 6
  Function: _error_handler</p>
  <p>File: C:\xampp\htdocs\hrdk\application\controllers\Home.php
  Line: 8
  Function: view</p>
  <p>File: C:\xampp\htdocs\hrdk\index.php
  Line: 315
  Function: require_once</p>
  <p>http://localhost/hrdk/&quot; alt=&quot;Logo&quot; &gt;</p>
  <p><strong>Website index page code is here</strong></p>
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;h1&gt;My First Heading&lt;/h1&gt;
  &lt;img src=&quot;&lt;?= base_url($this-&gt;general_settings['logo']); ?&gt;&quot; alt=&quot;Logo&quot; &gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p><strong>website index page controler code is here</strong></p>
  <pre><code>&lt;?php
  defined('BASEPATH') OR exit('No direct script access allowed');
  
  class Home extends CI_Controller {
  
  public function index()
  {
      $this-&gt;load-&gt;view('index');
  }
  }
  </code></pre>