PHP Classes

Compatibility with apache alias

Recommend this page to a friend!

      My Rad 4 PHP  >  All threads  >  Compatibility with apache alias  >  (Un) Subscribe thread alerts  
Subject:Compatibility with apache alias
Summary:I modify efm/settings.php to get compatibility with aliases
Messages:2
Author:Fred
Date:2013-03-16 16:14:51
Update:2013-03-16 16:20:15
 

 


  1. Compatibility with apache alias   Reply   Report abuse  
Picture of Fred Fred - 2013-03-16 16:14:51
Hi, I use apache aliases to get some projetcs out of the main serveur document root, so I had to modify the way you compute $GLOBALS['ruta'] line
9 of efm/settings.php :

$GLOBALS["ruta"]=realpath(dirname(__FILE__).'/..').'/';

Hope you find it usefull.

I start testing your project, if I keep using it, I will tell you.
Thank you for sharing your work,

Fred


  2. Re: Compatibility with apache alias   Reply   Report abuse  
Picture of Fred Fred - 2013-03-16 16:20:15 - In reply to message 1 from Fred
There is also the same issue in the generated settings.php at the site root