[phpwebapp-commits] CVS: documentation webapp.php,1.7,1.8
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2005-09-19 07:19:57
|
Update of /cvsroot/phpwebapp/documentation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9697 Modified Files: webapp.php Log Message: Index: webapp.php =================================================================== RCS file: /cvsroot/phpwebapp/documentation/webapp.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** webapp.php 6 Jul 2005 15:27:24 -0000 1.7 --- webapp.php 19 Sep 2005 07:19:49 -0000 1.8 *************** *** 34,38 **** $script_name = $_SERVER["SCRIPT_NAME"]; ! $app_url = dirname($script_name)."/"; define("APP_URL", $app_url); --- 34,39 ---- $script_name = $_SERVER["SCRIPT_NAME"]; ! $app_url = dirname($script_name); ! if ($app_url!='/') $app_url.='/'; define("APP_URL", $app_url); |