1
General Help & Support / Re: WB-Version herausfinden wenn es nicht mehr läuft
« Last post by sternchen8875 on September 29, 2025, 10:30:36 PM »das sieht vom Bild her unkompliziert aus, nur Standard-Module.
WebsiteBaker 2.13.9 R24 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html
function css_versioned($filename) {
$base_path = '/templates/main/css/';
$filepath = $_SERVER['DOCUMENT_ROOT'] . $base_path . $filename;
return file_exists($filepath)
? $base_path . $filename . '?v=' . filemtime($filepath)
: $base_path . $filename;
}
<link rel="stylesheet" href="<?php echo css_versioned('basics.css'); ?>" media="all" />
Wie kann ich jetzt herausfinden welche Version ich habe