cleaning code

skala
Isaac Flores 15 years ago
parent d811533599
commit 4a4c021857
  1. 1
      main/course_home/course_home.php

@ -66,7 +66,6 @@ include '../../main/inc/global.inc.php';
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //jQuery
if ($_SERVER['HTTP_HOST'] == 'localhost') {
//Get information of path
api_self();
$info = explode('courses',api_get_self());
$path_work = substr($info[0],0,strlen($info[0])-1);
} else {

Loading…
Cancel
Save