Automatically load the project model since we need it in the header

This commit is contained in:
Karsten Heiken
2011-07-31 18:46:50 +02:00
parent eaf6396b50
commit 3efb6dcc53
2 changed files with 1 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ $autoload['language'] = array();
|
*/
$autoload['model'] = array('user');
$autoload['model'] = array('user', 'project');
/* End of file autoload.php */

View File

@@ -43,9 +43,6 @@ endif;
<div class="title">
<h2><a href="<?=site_url('projects')?>" title="Alle Projekte anzeigen">Projekte</a></h2>
</div>
<?
$this->load->model('project');
?>
<div class="navigation">
<ul>
<li><a href="#">Eigene Projekte</a>