Subversion Repositories DevTools

Rev

Rev 1295 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1295 Rev 1302
Line 19... Line 19...
19
    my ($type, $name) = @_;
19
    my ($type, $name) = @_;
20
 
20
 
21
    my $self = {};
21
    my $self = {};
22
    $self->{name} = $name;
22
    $self->{name} = $name;
23
 
23
 
-
 
24
    die ("BASEDIR not configured correctly: ". $Codestriker::BASEDIR)
-
 
25
        unless ( -d $Codestriker::BASEDIR . '/template'  );
24
    # Template configuration.
26
    # Template configuration.
25
    my $config = {
27
    my $config = {
26
	    # Location of templates.
28
	    # Location of templates.
27
	    INCLUDE_PATH => 
29
	    INCLUDE_PATH => 
28
		$Codestriker::BASEDIR . "/template/en/custom:" .
30
		$Codestriker::BASEDIR . "/template/en/custom:" .