Location: PHPKode > projects > InterJinn > interJinn.2010-10-06/PreBuilt/NewProject/configs/config.interjinn.shared.php
<?php ////////////////////////////////////////////////////////////////////////
//                                                                          //
// Copyright (c) 2007 - 2009 Robert Cummings.                               //
//                                                                          //
// License: GNU General Public License 2.0 or later                         //
//          http://www.gnu.org/copyleft/gpl.html                            //
//                                                                          //
//////////////////////////////////////////////////////////////////////////////


$GLOBALS['interJinn']['403RedirectUrl'] = '//system/403.php';
$GLOBALS['interJinn']['404RedirectUrl'] = '//system/404.php';
$GLOBALS['interJinn']['500RedirectUrl'] = '//system/500.php';


//
// Global FormJinn settings that affect forms across the entire site.
//
$GLOBALS['interJinn']['formJinn'] = array
(
    'acceptCharsets' => 'utf-8',
    'cssWrappers'    => true,
);


//
// Custom services.
//
$GLOBALS['interJinn']['services'] = array
(
    '[[---NewProject---]]ServicesLocale'          => '//[[---NewProject---]]/services/locale.php',
    '[[---NewProject---]]ServicesCommentsFactory' => '//[[---NewProject---]]/services/comments.php',
);


//
// Custom service aliases.
//
$GLOBALS['interJinn']['serviceAliases'] = array
(
    'locale'    => '[[---NewProject---]]ServicesLocale',
    'comments'  => '[[---NewProject---]]ServicesCommentsFactory',
);


//
// All modules that must run before a possible form submission redirect. These
// also run before any module gets loaded. An authentication module can be
// invoked here to verify user is allowed access.
//
$GLOBALS['interJinn']['priorityModules'] = array
(
);


//
// All parser modules that will be used to transform templates and source
// content into their respective pages. The order of the sequence is the
// order in which they will be applied to the template contents.
//
$GLOBALS['interJinn']['compilers'] = array
(
    array
    (
        'logic' => array
        (
            array
            (
                'name'   => 'compiler',
                'source' => '///Core/compilers/jinnTag.inc',
            ),
        ),
    ),
    array
    (
        'logic' => array
        (
            array
            (
                'name'   => 'compiler',
                'source' => '//[[---NewProject---]]/compilers/tags.php',
            ),
        ),
    ),
);

//
// All embed modules that can be used by the embed service. Embeds are vital
// for tag compiler values that need to be processed in some manner. Generally
// speaking evaluation of embeds occurs after compilers have run via the embed
// service; however, any compiler module may invoke the embed service on an
// as needed basis to get the evaluation immediately -- inclusion tags often
// need this behaviour.
//
$GLOBALS['interJinn']['embeds'] = array
(
    array
    (
        'logic' => array
        (
            array
            (
                'name'   => 'compiler',
                'source' => '///Core/compilers/jinnEmbed.inc',
            ),
        ),
    ),
    array
    (
        'logic' => array
        (
            array
            (
                'name'   => 'compiler',
                'source' => '//[[---NewProject---]]/compilers/embeds.php',
            ),
        ),
    ),
);

//////////////////////////////////////////////////////////////////////////////
//                                                                          //
// Do not touch this line unless you know what you are doing. Even if you   //
// know what you are doing I strongly advise you don't touch it.            //
//                                                                          //
//////////////////////////////////////////////////////////////////////////////

require_once( $GLOBALS['interJinn']['coreRoot'].'ignite.inc' );

//////////////////////////////////////////////////////////////////////////////
//                                                                          //
// NEVER PUT THE CLOSING PHP TAG AT THE END OF AN INCLUDED PHP ONLY FILE :) //
//                                                                          //
//////////////////////////////////////////////////////////////////////////////

Return current item: InterJinn