Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/09/2004, 20:23
Kurapica_chan
 
Fecha de Ingreso: septiembre-2004
Mensajes: 55
Antigüedad: 19 años, 7 meses
Puntos: 0
Código:
<?php

define('MODULO_DEFECTO', 'home');
define('LAYOUT_DEFECTO', 'layout_simple.php');
define('MODULO_PATH', realpath('./modulos/'));
define('LAYOUT_PATH', realpath('./layouts/'));

$conf['home'] = array(
'archivo' => 'home.php',
'layout' => LAYOUT_DEFECTO ); 
$conf['xxxxx'] = array(
'archivo' => 'xxxxx.php' );
$conf['imp_art'] = array(
'archivo' => $conf['articulo']['archivo'],
'layout' => 'imprimir.php' );

?>
Chee Yo ocupo el mismo script, lo que tienes que hacer es..

cada ves que quieras tener un nuevo modulo en tu web es.

agregar

$conf['xxxxx'] = array(
'archivo' => 'xxxxx.php' );

Depues del ultimo poniendo el nombre fixticio y el nombre real del archivo dentro de la carpeta modulos.

Tienes qu ir agregando el mismo codiguito de arriba, por cada pagina que tengas.
__________________
Proximamente Rincon Ota on line.