projects
/
living-lab-site.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bug fixes; views is incrementing; started to create help page -- imagemap widget...
[living-lab-site.git]
/
application
/
controllers
/
video.php
diff --git
a/application/controllers/video.php
b/application/controllers/video.php
index
019fa2c
..
45e66d3
100644
(file)
--- a/
application/controllers/video.php
+++ b/
application/controllers/video.php
@@
-38,6
+38,7
@@
class Video extends CI_Controller {
// **
// Retrieve video information.
$this->load->model('videos_model');
+ $this->videos_model->inc_video_var($id, 'views');
$data['video'] = $this->videos_model->get_video($id, $name);
$data['plugin_type'] = ($plugin === NULL ? 'auto' : $plugin);