File: TestAppPrecompile.pm

package info (click to toggle)
libcgi-application-plugin-tt-perl 1.05%2B~cs1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 440 kB
  • sloc: perl: 806; makefile: 17
file content (21 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package TestAppPrecompile;

use strict;

use base qw(TestAppBase);

sub cgiapp_init {
    my $self = shift;

    $self->tt_config(
              TEMPLATE_OPTIONS => {
                        INCLUDE_PATH => $self->param('TT_DIR'),
                        ABSOLUTE     => 1,
              },
              TEMPLATE_PRECOMPILE_DIR => $self->param('TT_DIR'),
              TEMPLATE_PRECOMPILE_FILETEST => $self->param('TEMPLATE_PRECOMPILE_FILETEST'),
    );
}


1;