Commit f3d25ea5 authored by jerry wham's avatar jerry wham
Browse files

Relative paths

parent d55cb5d1
......@@ -463,8 +463,8 @@
$slides .= file_get_contents(MS5E_SLIDES_PATH.'content'.DS.$file);
}
$template = str_replace(
array('{{LANG}}','{{TITLE}}','{{RACINE}}','{{AUTHOR}}','{{COMPANY}}','{{MAIN_TITLE}}','{{MEETING_PLACE}}','{{COMPANY_LINK}}','{{FOOTER}}','{{SLIDES}}'),
array($LANG,$TITLE,$racine,$AUTHOR,$COMPANY,$MAIN_TITLE,$MEETING_PLACE,$COMPANY_LINK,$footer,$slides),
array('{{LANG}}','{{TITLE}}','{{AUTHOR}}','{{COMPANY}}','{{MAIN_TITLE}}','{{MEETING_PLACE}}','{{COMPANY_LINK}}','{{FOOTER}}','{{SLIDES}}'),
array($LANG,$TITLE,$AUTHOR,$COMPANY,$MAIN_TITLE,$MEETING_PLACE,$COMPANY_LINK,$footer,$slides),
$template
);
file_put_contents(MS5E_PRESENTATION_PATH.$name.'.html',$template);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment