Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/05/2011, 12:20
pochos
 
Fecha de Ingreso: julio-2009
Mensajes: 72
Antigüedad: 14 años, 8 meses
Puntos: 16
Respuesta: Problemas con require_once

deberias incluir el path de tu aplicacion, usa la funciona set_include_path .

Por ejemplo zend frammework usa en su archivo index.php el siguiente codigo para incluir el path de su libreria:

Código PHP:
defined('APPLICATION_PATH')
    || 
define('APPLICATION_PATH'realpath(dirname(__FILE__) . '/../application'));

set_include_path(implode(PATH_SEPARATOR, array(
    
realpath(APPLICATION_PATH '/../library'),
    
get_include_path(),
))); 
__________________
Desarrollo de proyectos web
Cursos en Argentina - Cursos en México