|
Lines 130-136
$dbh->{RaiseError} = 1;
Link Here
|
| 130 |
} |
130 |
} |
| 131 |
( $template, $loggedinuser, $cookies ) = get_template_and_user( |
131 |
( $template, $loggedinuser, $cookies ) = get_template_and_user( |
| 132 |
{ |
132 |
{ |
| 133 |
template_name => 'errors/500.tt', |
133 |
template_name => 'errors/errorpage.tt', |
| 134 |
query => $query, |
134 |
query => $query, |
| 135 |
type => "intranet", |
135 |
type => "intranet", |
| 136 |
authnotrequired => 1, |
136 |
authnotrequired => 1, |
|
Lines 138-144
$dbh->{RaiseError} = 1;
Link Here
|
| 138 |
} |
138 |
} |
| 139 |
); |
139 |
); |
| 140 |
my $file_exists = ( -f $template->{filename} ) ? 1 : 0; |
140 |
my $file_exists = ( -f $template->{filename} ) ? 1 : 0; |
| 141 |
is ( $file_exists, 1, 'The file errors/500.tt should be accessible (contains integers)' ); |
141 |
is ( $file_exists, 1, 'The file errors/errorpage.tt should be accessible (contains integers)' ); |
| 142 |
} |
142 |
} |
| 143 |
|
143 |
|
| 144 |
# Check that there is always an OPACBaseURL set. |
144 |
# Check that there is always an OPACBaseURL set. |
| 145 |
- |
|
|