File: bootstrap.php

package info (click to toggle)
php-raintpl 3.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 204 kB
  • sloc: php: 1,035; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

    // define the base directory
    define( "BASE_DIR", dirname(__DIR__) );

    // set the include path
    set_include_path(
            BASE_DIR . DIRECTORY_SEPARATOR . 'library'
            . PATH_SEPARATOR . get_include_path()
    );

    // require Rain autoload
    require_once "Rain/autoload.php";