main/inc/lib/pdf.lib.php 1 location
|
@@ 537-541 (lines=5) @@
|
| 534 |
|
if (file_exists($store_path)) { |
| 535 |
|
$web_path = api_get_path(WEB_COURSE_PATH).$course_info['path'].'/'.api_get_current_access_url_id().'_pdf_watermark.png'; |
| 536 |
|
} |
| 537 |
|
} else { |
| 538 |
|
$store_path = api_get_path(SYS_CODE_PATH).'default_course_document/images/'.api_get_current_access_url_id().'_pdf_watermark.png'; // course path |
| 539 |
|
if (file_exists($store_path)) |
| 540 |
|
$web_path = api_get_path(WEB_CODE_PATH).'default_course_document/images/'.api_get_current_access_url_id().'_pdf_watermark.png'; |
| 541 |
|
} |
| 542 |
|
return $web_path; |
| 543 |
|
} |
| 544 |
|
|
main/install/install.lib.php 1 location
|
@@ 924-929 (lines=6) @@
|
| 921 |
|
} |
| 922 |
|
|
| 923 |
|
$oldConf = ''; |
| 924 |
|
if (file_exists(api_get_path(SYS_CODE_PATH).'inc/conf/configuration.php')) { |
| 925 |
|
$oldConf = '<tr> |
| 926 |
|
<td class="requirements-item">'.api_get_path(SYS_CODE_PATH).'inc/conf</td> |
| 927 |
|
<td class="requirements-value">'.check_writable(api_get_path(SYS_CODE_PATH).'inc/conf').'</td> |
| 928 |
|
</tr>'; |
| 929 |
|
} |
| 930 |
|
|
| 931 |
|
echo '<table class="table"> |
| 932 |
|
'.$oldConf.' |