Ver Mensaje Individual
  #7 (permalink)  
Antiguo 25/06/2007, 08:26
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses
Puntos: 2135
Re: nombre fichero include o require

juanfuentes te dio tu solucion, usa la constante __FILE__ todo el tiempo apunta al fichero actual, si estas dentro del fichero incluido te devuelve ese nombre

Saludos.