Cache templates
[viewsvn.git] / global.php
1 <?php
2 /*=====================================================================*\
3 || ################################################################### ||
4 || # ViewSVN [#]version[#]
5 || # --------------------------------------------------------------- # ||
6 || # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
7 || # This file may not be reproduced in any way without permission. # ||
8 || # --------------------------------------------------------------- # ||
9 || # User License Agreement at http://www.iris-studios.com/license/ # ||
10 || ################################################################### ||
11 \*=====================================================================*/
12
13 require_once('./includes/init.php');
14
15 if (!defined('PATH_OVERRIDE') OR PATH_OVERRIDE != 1)
16 {
17 $path = $viewsvn->paths->parse();
18 $repos = $viewsvn->paths->fetch_repos($path);
19 $relpath = $viewsvn->paths->fetch_path($path);
20 }
21
22 $template->cache((array)$fetchtemplates);
23
24 /*=====================================================================*\
25 || ###################################################################
26 || # $HeadURL$
27 || # $Id$
28 || ###################################################################
29 \*=====================================================================*/
30 ?>