|    
			
				10/05/2012, 09:41
			
			
			  | 
  |   |  | $this->role('moderador'); |  |  Fecha de Ingreso: mayo-2006 Ubicación: /home/ams/ 
						Mensajes: 38.567
					 Antigüedad: 19 años, 5 meses Puntos: 2135 |  | 
  |  Respuesta: ¿Cómo saber si un proyecto está en localhost o en un dominio?  
  Prueba $_SERVER['DOCUMENT_ROOT'] y $_SERVER['HTTP_HOST'].
 Saludos.
     |