Neuen Config für BASE_LOCATION hinzugefügt

This commit is contained in:
Andreas Österreicher
2022-10-31 13:23:03 +01:00
parent 556e58e78e
commit 989a7b8720
8 changed files with 29 additions and 41 deletions
+2 -5
View File
@@ -17,11 +17,8 @@
*
* Authors: Andreas Moik <moik@technikum-wien.at>
*/
$dr = isset($_SERVER['CONTEXT_PREFIX']) ? $_SERVER["CONTEXT_PREFIX"].'/' : '/';
//Originaldateien des Herstellers
echo '<script src="'.$dr.'vendor/josdejong/jsoneditor/dist/jsoneditor.js"></script>';
echo '<link href="'.$dr.'vendor/josdejong/jsoneditor/dist/jsoneditor.css" rel="stylesheet" type="text/css">';
echo '<script src="'.BASE_LOCATION.'vendor/josdejong/jsoneditor/dist/jsoneditor.js"></script>';
echo '<link href="'.BASE_LOCATION.'vendor/josdejong/jsoneditor/dist/jsoneditor.css" rel="stylesheet" type="text/css">';
?>