Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.384 kb
<?php
define('BOOTSTRAP_DIR', dirname(__FILE__));
session_start();
require BOOTSTRAP_DIR.'/config.php';
function require_libs($path = '')
{
foreach ( glob( $path.'/*' ) as $p ) {
if (is_dir($p))
require_libs( $p );
else if ( is_file($p) && substr(basename($p),-4,4) == '.php')
require $p;
}
}
require_libs(BOOTSTRAP_DIR.'/lib'); // require all the libraries recursevly
Jump to Line
Something went wrong with that request. Please try again.