X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/f1e8dd28b05b78b0992493d8508bddaab2bd13d6..759433afd1d046c486722a77b2e32e90ff0dc469:/lib/MECON/Marco.php
diff --git a/lib/MECON/Marco.php b/lib/MECON/Marco.php
index 4153536..0b0ead5 100644
--- a/lib/MECON/Marco.php
+++ b/lib/MECON/Marco.php
@@ -36,9 +36,9 @@ require_once 'HTML/Page.php';
require_once 'HTML/Table.php';
//Defino los directorios por default
-define ('DIR_IMAGENES' , 'images');
-define ('DIR_ESTILOS' , 'css');
-define ('DIR_JS' , 'js');
+define ('DIR_IMAGENES' , '/www/images');
+define ('DIR_ESTILOS' , '/www/css');
+define ('DIR_JS' , '/www/js');
define ('DIR_WWW' , 'www');
define ('DIR_CACHE' , '/tmp');
//
@@ -140,6 +140,7 @@ class Marco extends HTML_Page {
$this->_menu = new MenuPrincipal ($this->_configuracion);
$this->_pie = new Pie ($this->_configuracion);
$this->_contenido = array ();
+ $this->_contenido[] = '
';
$this->_titulo2 = '';
}
@@ -196,7 +197,7 @@ class Marco extends HTML_Page {
trigger_error('Es obligatorio ingresar el directorio root!', E_USER_ERROR);
}
if (!@$this->_configuracion['directorios']['imagenes']){
- $this->_configuracion['directorios']['imagenes'] = $this->_configuracion['directorio']['root'].'/'.DIR_IMAGENES;
+ $this->_configuracion['directorios']['imagenes'] = $this->_configuracion['directorios']['root'].'/'.DIR_IMAGENES;
}
if (!@$this->_configuracion['directorios']['estilos']){
$this->_configuracion['directorios']['estilos'] = $this->_configuracion['directorios']['root'].'/'.DIR_ESTILOS;
@@ -274,6 +275,7 @@ class Marco extends HTML_Page {
*/
function _body_display() // ~X2C
{
+ $this->_contenido[] = '
';
$body = array ( 'copete' => $this->_copete->toHtml(),
'body' => $this->_contenido,
'pie' => $this->_pie->toHtml(),