Automatically load the project model since we need it in the header
This commit is contained in:
@@ -109,7 +109,7 @@ $autoload['language'] = array();
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$autoload['model'] = array('user');
|
$autoload['model'] = array('user', 'project');
|
||||||
|
|
||||||
|
|
||||||
/* End of file autoload.php */
|
/* End of file autoload.php */
|
||||||
|
|||||||
@@ -43,9 +43,6 @@ endif;
|
|||||||
<div class="title">
|
<div class="title">
|
||||||
<h2><a href="<?=site_url('projects')?>" title="Alle Projekte anzeigen">Projekte</a></h2>
|
<h2><a href="<?=site_url('projects')?>" title="Alle Projekte anzeigen">Projekte</a></h2>
|
||||||
</div>
|
</div>
|
||||||
<?
|
|
||||||
$this->load->model('project');
|
|
||||||
?>
|
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#">Eigene Projekte</a>
|
<li><a href="#">Eigene Projekte</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user