教师时间表下载优化
This commit is contained in:
parent
459ed92603
commit
960f7720be
@ -159,7 +159,7 @@ class TeacherScheduleTimeController extends BaseController
|
||||
//居中写入标题
|
||||
imagettftext($img, $base['title_font_size'], 0, ($base['img_width'] - $title_fout_width) / 2, $base['title_height'], $text_coler, $base['font_ulr'], $params['title']);
|
||||
//写入制表时间
|
||||
imagettftext($img, $base['text_size'], 0, $base['border'], $base['title_height'], $text_coler, $base['font_ulr'], '时间:' . $params['table_time']);
|
||||
imagettftext($img, $base['text_size'], 0, $base['border'], $base['title_height'], $text_coler, $base['font_ulr'], 'Date:' . $params['table_time']);
|
||||
$save_path = $base['file_path'] . $params['file_name'];
|
||||
if (!is_dir($base['file_path']))//判断存储路径是否存在,不存在则创建
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user