<?php
const APP_SOURCE = array('label' => 'source', 'url' => 'highlight.php?filename=');
const APP_SHA256 = array('label' => 'sha256', 'url' => 'checksum.php?filename=');
const APP_MESHVIEWER = array('label' => 'view', 'url' => 'mesh_viewer.html?filename=');
class Config {
public $title = 'Gernot Walzl';
public $meta_description = 'Homepage of Gernot Walzl';
public $meta_keywords = 'Software Development, C++, Qt, Straight Skeleton, Linux, Debian, Slackware';
public $stylesheets = array('style.css', '.highlightjs/styles/default-auto.min.css');
public $rss = 'changes.php';
public $scripts = array('matomo_tracker.js', '.highlightjs/highlight.min.js', 'highlight.js');
public $header = 'HEADER.html';
public $footer = 'FOOTER.html';
public $rootnode = 'gernot-walzl.at';
public $indices = array('index.html', 'index.php', 'index.htm');
public $readmes = array('README.html', 'CONTENT.html', 'CONTENT.php', 'README');
public $preview_file_exts = array('txt', 'sh', 'py');
public $preview_size = 5;
public $file_apps = array(
'apk' => array(APP_SHA256),
'css' => array(APP_SOURCE),
'geojson' => array(APP_SOURCE),
'gz' => array(APP_SHA256),
'html' => array(APP_SOURCE),
'js' => array(APP_SOURCE),
'mkv' => array(APP_SHA256),
'pdf' => array(APP_SHA256),
'php' => array(APP_SOURCE),
'phps' => array(APP_SOURCE),
'py' => array(APP_SOURCE),
'sh' => array(APP_SOURCE),
'stl' => array(APP_MESHVIEWER),
'svg' => array(APP_SOURCE),
'tgz' => array(APP_SHA256),
'xspf' => array(APP_SOURCE),
'zip' => array(APP_SHA256));
public $hidden_dirnames = array('Packages');
public $list_files = true;
}
class ChangesConfig {
public $title = 'Gernot Walzl';
public $description = 'Recent Changes';
public $link = 'https://gernot-walzl.at/';
public $link_append = 'index.php?nav=';
public $rootnode = 'gernot-walzl.at';
public $urlencode_path = true;
public $max_num_changes = 5;
public $ignored_dirnames = array('WordPress', 'Packages', 'Uploads');
}
?>