/** * platform: This is a pseudo constructor * @param void * * @return void */ function platform() { global $paths; //platform_launch_start_profiler(); platform_launch_initialize(); platform_launch_debug(false); if (!IS_CLI) { platform_launch_dispatch($_SERVER['QUERY_STRING']); } //platform_launch_stop_profiler($xhprof_data); //debug_complete_stack($paths); }
function pli() { if (!function_exists('platform_launch_initialize')) { platform_launch_initialize(); } }
* @version $Id: page.php 40 2011-02-09 14:10:00Z biyi $ * @package Platform * @subpackage System * @category Application * @author The Platform Authors * @link mailto:platform@entilda.com * @copyright Copyright (C) 2011 - 2012 The Platform Authors. All rights reserved. * @license GNU Public Licence, see LICENSE.php * Platform is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ // initilizing platform for self-contained objects platform_launch_initialize(); define('SLIDESHOW_PATH', 'supersized/slideshow'); //PLATFORM_SANDBOX_WORKSPACE_URI ?> <!DOCTYPE html> <html> <head> <title>Photo Viewer</title> <?php js_add_jquery(); // adding jquery library js_add_jquery_ui(); // adding jquery ui library html_add_link_css(SLIDESHOW_PATH . DS . 'css/supersized.css', 'media="screen"'); html_add_link_css(SLIDESHOW_PATH . DS . 'theme/supersized.shutter.css', 'media="screen"'); html_add_js('https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js');