Ver Mensaje Individual
  #11 (permalink)  
Antiguo 26/04/2012, 12:38
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Configuración Correcta de Zend Framework antes de trabajar

Ese caso es un poco más complicado pero no imposible, pon /application y /library directamente donde este tu index.php y solo ajusta las rutas en el index.php:
Código PHP:
Ver original
  1. // Define path to application directory
  2. defined('APPLICATION_PATH')
  3.     || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/application'));
  4.  
  5. // Define application environment
  6. defined('APPLICATION_ENV')
  7.     || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'development'));
  8.  
  9. // Ensure library/ is on include_path
  10. set_include_path(implode(PATH_SEPARATOR, array(
  11.     realpath(APPLICATION_PATH . '/../library'),
  12. )));

Así ya no usas la carpeta "public" ya que va a ser la carpeta raiz, el único inconveniente es que dejas la carpeta application/config/config.ini abierto así que usa un .htaccess para denegar el contenido de esa carpeta (o de todo application).

Saludos.