grafieken: jQuery/Highcharts/knockout ingesloten i.p.v. van app.monpas.nl

De printserver haalde de scripts van vendor_url (app.monpas.nl); als die
niet bereikbaar is, blijven grafiekafbeeldingen leeg. Nieuwe helper
inline_script() sluit de scripts uit public/js_lib in de html in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 11:53:53 +02:00
co-authored by Claude Opus 5.5
parent 6956144b52
commit d771c180fa
11 changed files with 29 additions and 25 deletions
+5
View File
@@ -32,3 +32,8 @@
$message = stripslashes($message);
return ($message);
}
// script uit public/ ingesloten in de html, zodat de printserver het niet van app.monpas.nl hoeft te halen
function inline_script($pad){
return '<script type="text/javascript">' . file_get_contents(FCPATH . $pad) . '</script>';
}