[phpwebapp-commits] CVS: app3 webapp.php,1.3,1.4
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2005-09-19 07:19:26
|
Update of /cvsroot/phpwebapp/app3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9586 Modified Files: webapp.php Log Message: Index: webapp.php =================================================================== RCS file: /cvsroot/phpwebapp/app3/webapp.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** webapp.php 8 Sep 2003 13:25:41 -0000 1.3 --- webapp.php 19 Sep 2005 07:19:18 -0000 1.4 *************** *** 26,30 **** define("APP_PATH", $app_path); $script_name = $_SERVER["SCRIPT_NAME"]; ! $app_url = dirname($script_name)."/"; define("APP_URL", $app_url); --- 26,31 ---- 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); |