From: <pan...@us...> - 2009-03-01 19:14:19
|
Revision: 516 http://acmcontester.svn.sourceforge.net/acmcontester/?rev=516&view=rev Author: panzaboi Date: 2009-03-01 19:14:16 +0000 (Sun, 01 Mar 2009) Log Message: ----------- simple update Modified Paths: -------------- website/httpdocs/index.php Modified: website/httpdocs/index.php =================================================================== --- website/httpdocs/index.php 2009-03-01 18:22:55 UTC (rev 515) +++ website/httpdocs/index.php 2009-03-01 19:14:16 UTC (rev 516) @@ -6,9 +6,9 @@ //$_docroot = dirname($_SERVER["DOCUMENT_ROOT"]); $_approot = dirname(__FILE__); -set_include_path($_SERVER['LIBRARY_PATH'] . ';' . $_SERVER['APPLICATION_PATH'] . 'httpdocs/;' . $_SERVER['APPLICATION_PATH'] . 'config/;' . $_SERVER['APPLICATION_PATH'] . 'lang/;' . $_SERVER['APPLICATION_PATH'] . 'application/;' . get_include_path()); +set_include_path($_SERVER['LIBRARY_PATH'] . ':' . $_SERVER['APPLICATION_PATH'] . 'httpdocs/:' . $_SERVER['APPLICATION_PATH'] . 'config/:' . $_SERVER['APPLICATION_PATH'] . 'lang/:' . $_SERVER['APPLICATION_PATH'] . 'application/:' . get_include_path()): -require_once 'Application.php'; +require_once 'Application.php': $app = new Application($_approot); $app->setEnvironment('development'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |