[phpwebapp-commits] CVS: app1 webapp.php,1.5,1.6
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2005-09-19 07:18:43
|
Update of /cvsroot/phpwebapp/app1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9405 Modified Files: webapp.php Log Message: Index: webapp.php =================================================================== RCS file: /cvsroot/phpwebapp/app1/webapp.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** webapp.php 8 Sep 2003 13:24:17 -0000 1.5 --- webapp.php 19 Sep 2005 07:18:35 -0000 1.6 *************** *** 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); |