Hi,
> Please verify that any Care2x install in a subfolder of a domain like 
> http://www.domain.com/care2x/ will not fail under the current 
> $_SERVER['SCRIPT_NAME'].

Correct. Where that is placed, it is a protection failover. So it is
wroking - but not sure if it would protect the files like it is planned.
Maybe I have to change it to SCRIPT_FILENAME instead of SCRIPT_NAME. 

> (hope there is no $_SERVER['SERVER_NAME'] variable since the older $PHP_SELF 
> was essentially $_SERVER['PHP_SELF'] which is a full path with script name).

"a bit" :)

rob...@mzungu:/var/www/care2x_26$ grep 'SERVER_NAME' * -R
classes/phpSniff/phpSniff.core.php:
$location='http://'.getenv('SERVER_NAME').$script_path.($QS==''?'':'?'.$QS);
classes/phpSniff/.svn/text-base/phpSniff.core.php.svn-base:
$location='http://'.getenv('SERVER_NAME').$script_path.($QS==''?'':'?'.$QS);

But not in a way what would make us headache. 

Robert

-- 
--
--------------------------------------------
CARE2X - free Integ Hospital Info System
https://sourceforge.net/projects/care2002/
http://www.care2x.org


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to