rendered paste body<?php// ------------- ~ Tango ~ ------------- \\// File: index.php// Author: Alex Cartwright// Created: 5th Februrary 2007// ------------- ~ Tango ~ ------------- \\ // Define main directories define( "_CORE_DIR", 'core' ); define( "_LIB_DIR", 'lib' ); define( "_MODULE_DIR", 'modules' ); define( "_LOG_DIR", 'logs' ); define( "_THEME_DIR", 'themes' ); define( "_ICON_DIR", 'icon' ); // Create an array of which core files to load into the framework $core_files = array( 'class_error_handler.php' => 'error_handler', 'class_sql.php' => 'sql', 'class_settings.php' => 'settings', 'class_url_manager.php' => 'url_manager', ); // Initialize framework and registry require_once( _CORE_DIR.'/class_core_framework.php' ); $core_framework = new Core_framework(); require_once( _CORE_DIR.'/class_registry.php' ); $registry = new Registry(); $core_frameework->load_registry( $Registry ); // Load extra core files into framework $core_framework->load_core_files( $core_files ); ?>