[go: up one dir, main page]

File: index.php

package info (click to toggle)
sork-vacation-h3 3.0.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,648 kB
  • ctags: 319
  • sloc: php: 1,216; xml: 498; makefile: 58; perl: 17
file content (19 lines) | stat: -rw-r--r-- 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * $Horde: vacation/index.php,v 1.18.2.2 2007/01/02 13:55:21 jan Exp $
 *
 * Copyright 2001-2007 Eric Rostetter <eric.rostetter@physics.utexas.edu>
 *
 * See the enclosed file LICENSE for license information (BSD). If you
 * did not receive this file, see http://www.horde.org/licenses/bsdl.php.
 */

@define('VACATION_BASE', dirname(__FILE__));
$vacation_configured = (is_readable(VACATION_BASE . '/config/conf.php'));

if (!$vacation_configured) {
    require VACATION_BASE . '/../lib/Test.php';
    Horde_Test::configFilesMissing('Vacation', VACATION_BASE, 'conf.php');
}

require VACATION_BASE . '/main.php';