[phpwebapp-commits] CVS: top10 webapp.php,1.1.1.1,1.2
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2005-09-19 07:20:26
|
Update of /cvsroot/phpwebapp/top10 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9870 Modified Files: webapp.php Log Message: Index: webapp.php =================================================================== RCS file: /cvsroot/phpwebapp/top10/webapp.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** webapp.php 23 Sep 2003 14:04:12 -0000 1.1.1.1 --- webapp.php 19 Sep 2005 07:20:17 -0000 1.2 *************** *** 33,37 **** define("APP_PATH", $app_path); $script_name = $_SERVER["SCRIPT_NAME"]; ! $app_url = dirname($script_name)."/"; define("APP_URL", $app_url); --- 33,38 ---- define("APP_PATH", $app_path); $script_name = $_SERVER["SCRIPT_NAME"]; ! $app_url = dirname($script_name); ! if ($app_url!='/') $app_url.='/'; define("APP_URL", $app_url); |