parse Changelog ("History") files and generate HTML pages
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
1.2 KiB

<?php
#############################################################################
# HistView (c) 2003-2017 by Itzchak Rehberg #
# written by Itzchak Rehberg <devel AT izzysoft DOT de> #
# http://www.izzysoft.de/ #
# ------------------------------------------------------------------------- #
# This program is free software; you can redistribute and/or modify it #
# under the terms of the GNU General Public License (see doc/LICENSE) #
# ------------------------------------------------------------------------- #
# Download Class Example: Find the highest version and send it #
#############################################################################
/* $Id$ */
include("download.class.inc");
# Create an instance of the download class
$dl = new download();
# Find and send the latest version as Debian package
if ($dl->send_latest("histview","deb","/usr/src/debian/DEBS/all")) exit;
# Display error if nothing was found
else echo "<P ALIGN='center' STYLE='color:#f00'>Sorry - but the requested file was not found here.</P>\n";
?>