|
@@ -695,7 +695,6 @@ $app->before(
|
|
|
}
|
|
|
}));
|
|
|
|
|
|
-
|
|
|
// Check if we are inside a Chamilo course tool
|
|
|
|
|
|
$isCourseTool = (strpos($request->getPathInfo(), 'courses/') === false) ? false : true;
|
|
@@ -705,7 +704,6 @@ $app->before(
|
|
|
$isCourseTool = (strpos($request->getPathInfo(), 'question_manager/exercise_distribution/') === false) ? false : true;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
// Setting course entity for controllers and templates
|
|
|
if ($isCourseTool) {
|
|
|
// The course parameter is loaded
|
|
@@ -796,7 +794,6 @@ if (isset($app['configuration']['language_measure_frequency']) && $app['configur
|
|
|
$langstats = new langstats();
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/** Setting the is_admin key */
|
|
|
$app['is_admin'] = false;
|
|
|
|