1
# See bottom of file for license and copyright information
2
package Foswiki::Configure::Checkers::TemplateDir;
6
use Foswiki::Configure::Checker;
8
use base 'Foswiki::Configure::Checker';
13
my $e = $this->guessMajorDir( 'TemplateDir', 'templates' );
14
$e .= $this->warnAboutWindowsBackSlashes( $Foswiki::cfg{TemplateDir} );
15
my $e2 = $this->checkTreePerms( $Foswiki::cfg{TemplateDir}, 'r' );
16
$e .= $this->ERROR($e2) if $e2;
23
# Foswiki - The Free and Open Source Wiki, http://foswiki.org/
25
# Copyright (C) 2008 Foswiki Contributors. All Rights Reserved.
26
# Foswiki Contributors are listed in the AUTHORS file in the root
27
# of this distribution. NOTE: Please extend that file, not this notice.
29
# Additional copyrights apply to some or all of the code in this
32
# Copyright (C) 2000-2006 TWiki Contributors. All Rights Reserved.
33
# TWiki Contributors are listed in the AUTHORS file in the root
34
# of this distribution. NOTE: Please extend that file, not this notice.
36
# This program is free software; you can redistribute it and/or
37
# modify it under the terms of the GNU General Public License
38
# as published by the Free Software Foundation; either version 2
39
# of the License, or (at your option) any later version. For
40
# more details read LICENSE in the root of this distribution.
42
# This program is distributed in the hope that it will be useful,
43
# but WITHOUT ANY WARRANTY; without even the implied warranty of
44
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
46
# As per the GPL, removal of this notice is prohibited.