Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (25 sloc) 0.634 kb
<?php
/**
* Bootstrap for public interface.
*
* @copyright Roy Rosenzweig Center for History and New Media, 2007-2011
* @license http://www.gnu.org/licenses/gpl-3.0.txt
* @package Omeka
* @access private
*/
/**
* Define the directory and web paths.
*/
require_once 'paths.php';
// Define the public theme directory path.
define('THEME_DIR', BASE_DIR . '/' . $site['public_theme']);
$app = new Omeka_Core;
$app->getBootstrap()->setOptions(array(
'resources' => array(
'theme' => array(
'basePath' => THEME_DIR,
'webBasePath' => WEB_THEME
)
)
));
$app->initialize()->run();
Jump to Line
Something went wrong with that request. Please try again.