WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<?php/** * Droplet that trys to read the default changelog * and gets informations about the svn-number ... * Keep in mind, that your path to the "changelog" may differ! * * @version: 0.1.0 * @date: 2009-10-09 * @author: Dietrich Roland Pehlke * */$temp = explode ("/", WB_PATH);array_pop($temp);$path = implode("/", $temp)."/CHANGELOG";$info = array( 'svn' => 'unknown', 'date' => 'unknown', 'time' => 'unknown');foreach (FILE($path) as $line) { $t = explode (" ", $line); if ($t[0]== "\$Id:") { $info['svn'] = $t[2]; $info['date'] = $t[3]; $info['time'] = $t[4]; break; }}$htm= "";foreach($info as $k=>$v) $html .= $k."= ".$v."<br />";return $html;?>