From: Gabriel Dunne Date: Fri, 9 Jul 2010 23:47:16 +0000 (-0700) Subject: comments X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=85a455e9530e55b3cff08ac37c04c7cdd6227d8c;p=plog.git comments --- diff --git a/lib/output.php b/lib/output.php index c377dad..6866c6c 100644 --- a/lib/output.php +++ b/lib/output.php @@ -1,17 +1,22 @@ template_dir = join(DIRECTORY_SEPARATOR, array(dirname(__FILE__), '..', TEMPLATE_DIR)); $t->template_cache_dir = join(DIRECTORY_SEPARATOR, array(dirname(__FILE__), '..', TEMPLATE_DIR, 'cache')); -// $t->caching = 0; return $t; } - +/** + * @param format + * @param default format + */ function parse_format($format, $default) { $types = array('html' => 'text/html', @@ -30,6 +35,9 @@ function parse_format($format, $default) } +/** + * parse ini file + */ if( !function_exists('parse_ini_string') ) { function parse_ini_string( $string ) { $array = Array(); @@ -53,6 +61,7 @@ if( !function_exists('parse_ini_string') ) { /** * removes double slashes + * @param path */ function clean_slashes($path) {