Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (28 sloc) 1.399 kB
<?php
/** Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html **/
// Copyright 2008 - 2010 all rights reserved, SQLFusion LLC, info@sqlfusion.com
/** Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html **/
/**
* Main event Controler
* This is an instance of the Event controler that will be managing the execution of the events and set the next url
* @see EventControler
* @package RadriaSiteTemplate
* @author Philippe Lewicki <phil@sqlfusion.com>
* @copyright SQLFusion LLC 2001-2007
* @version 4.0
*/
include_once("config.php") ;
// "start event control" ;
$eventControler = new EventControler($conx) ;
$eventControler->setMyDbPath($cfg_local_mydbdir) ;
$eventControler->addparam("dbc", $conx) ;
$eventControler->addparam("doSave", "yes") ;
$eventControler->setMessagePage("message.php");
// If you want to secure your site to only authorize request with local referer
// comment the line bellow.
// Notes: doesn't work with ssl or some IE version and Ajax
$eventControler->setCheckReferer(false);
$eventControler->addallvars();
$eventControler->listenEvents($_REQUEST['mydb_events']) ;
$eventControler->doForward() ;
?>
Jump to Line
Something went wrong with that request. Please try again.