main/newscorm/learnpath.class.php 1 location
|
@@ 159-163 (lines=5) @@
|
| 156 |
|
if ($row['expired_on'] != '0000-00-00 00:00:00') { |
| 157 |
|
$this->expired_on = $row['expired_on']; |
| 158 |
|
} |
| 159 |
|
if ($this->type == 2) { |
| 160 |
|
if ($row['force_commit'] == 1) { |
| 161 |
|
$this->force_commit = true; |
| 162 |
|
} |
| 163 |
|
} |
| 164 |
|
$this->mode = $row['default_view_mod']; |
| 165 |
|
} else { |
| 166 |
|
$this->error = 'Learnpath ID does not exist in database ('.$sql.')'; |
main/newscorm/scorm.class.php 1 location
|
@@ 962-966 (lines=5) @@
|
| 959 |
|
$this->scorm_debug = $row['debug']; |
| 960 |
|
$this->js_lib = $row['js_lib']; |
| 961 |
|
$this->path = $row['path']; |
| 962 |
|
if ($this->type == 2) { |
| 963 |
|
if ($row['force_commit'] == 1) { |
| 964 |
|
$this->force_commit = true; |
| 965 |
|
} |
| 966 |
|
} |
| 967 |
|
$this->mode = $row['default_view_mod']; |
| 968 |
|
$this->subdir = $row['path']; |
| 969 |
|
} |