static function form_name() { if (OnePiece5::Admin()) { return 'op-unit-contact-form'; } else { return md5(__FILE__ . ', ' . __LINE__); } }
*/ /**************************************************************************************************** * * OnePiece * ****************************************************************************************************/ // Include of OnePiece framework. include '/www/op/core/OnePiece5.class.php'; // Set administrator setting. Env::Set('admin-ip', ''); Env::Set('admin-mail', ''); // Re:Setting error reporting. error_reporting(E_ALL & ~E_NOTICE); ini_set('display_errors', 0); // Re:Set Debug mode. if (OnePiece5::Admin() and Toolbox::GetRequest('debug')) { error_reporting(E_ALL & ~E_NOTICE); ini_set('display_errors', 1); } // Instanciate. $op = new OnePiece5(); // Include configuration file. if (file_exists('config.inc.php')) { include 'config.inc.php'; } /**************************************************************************************************** * * Dispatch * ****************************************************************************************************/ // Remove URL Query.