|
|
|
|
@ -4463,7 +4463,7 @@ class DocumentManager |
|
|
|
|
$fileSize = 0; |
|
|
|
|
$fileType = 'file'; |
|
|
|
|
$templateContent = file_get_contents(api_get_path(SYS_CODE_PATH) . 'gradebook/certificate_template/template.html'); |
|
|
|
|
|
|
|
|
|
error_log(api_get_path(SYS_CODE_PATH) . 'gradebook/certificate_template/template.html'); |
|
|
|
|
$search = array('{CSS}', '{IMG_DIR}', '{REL_PATH}', '{COURSE_DIR}', '{WEB_CODE_PATH}'); |
|
|
|
|
$replace = array($css.$js, $img_dir, api_get_path(REL_PATH), $default_course_dir, api_get_path(WEB_CODE_PATH)); |
|
|
|
|
|
|
|
|
|
|