summaryrefslogtreecommitdiff
path: root/src/web/_controller/apps/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_controller/apps/profile.php')
-rw-r--r--src/web/_controller/apps/profile.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/web/_controller/apps/profile.php b/src/web/_controller/apps/profile.php
index aaed348..3bc9a91 100644
--- a/src/web/_controller/apps/profile.php
+++ b/src/web/_controller/apps/profile.php
@@ -7,12 +7,16 @@ class Profile_controller extends Controller {
// the format model
protected $format_model;
- // the post model
+ // the post controller
protected $post_controller;
+ // the people controller
+ protected $people_controller;
+
function __construct($load) {
parent::__construct($load);
$this->profile_model = $this->load->model('apps/profile');
+ $this->people_controller = $this->load->controller('apps/people');
$this->format_model = $this->load->model('format');
$this->post_controller = $this->load->controller('_util/post');
}