Thread HTC-Snob-Fragen (14 answers)
Opened by Froschpopo at 2008-04-03 11:42

Froschpopo
 2008-04-03 17:02
#107814 #107814
User since
2003-08-15
2653 Artikel
BenutzerIn
[default_avatar]
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/perl

use warnings;
use strict;
use HTML::Template::Compiled;
use File::Find;

print STDERR "Pre-loading HTML Templates...\n";

my $cache_dir = '/var/htc_cache';
my $htc = HTML::Template::Compiled->new(
path => '/srv/www/tuxen/templates',
file_cache => 1,
file_cache_dir => $cache_dir,

);

my $count_templates = $htc->preload($cache_dir);

print STDERR "$count_templates successfull loaded\n";

1;

ich steig da nicht durch!

View full thread HTC-Snob-Fragen