<?php /* +-----------------------------------------------------------------------+ | SkyApp - The PHP Application Framework. | | http://www.skyweb.ro/ | +-----------------------------------------------------------------------+ | This source file is released under LGPL license, available through | | the world wide web at http://www.gnu.org/copyleft/lesser.html. | | This library is distributed WITHOUT ANY WARRANTY. Please see the LGPL | | for more details. | +-----------------------------------------------------------------------+ | Authors: Andi Trînculescu <*****@*****.**> | +-----------------------------------------------------------------------+ $Id: index.php,v 1.1 2007/03/09 12:03:33 trinculescu Exp $ */ require_once 'startup.php'; SADebug::acceptClient('192.168.1.21'); $app =& new SAPSeleniumApplication(); $app->run();
/** * Calls the factory method and throws an exception if the page is not valid * @param string $name The page name */ private static function &tryToGetPage($name) { $page = null; try { $page =& self::factory($name); } catch (DoesNotImplementSAIPageException $e) { SADebug::trace($e->getMessage(), __FILE__, __LINE__, __METHOD__); } catch (Exception $e) { throw new Exception($e->getMessage()); } return $page; }