X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/2f3b8ae4b5ca4ae5be36071825afd8449b1080f8..1209440ef94cb8b357936a78c56b9872d4fb5ae5:/test/Marco/prueba/www/include/prepend.php?ds=sidebyside diff --git a/test/Marco/prueba/www/include/prepend.php b/test/Marco/prueba/www/include/prepend.php index 640f441..33952f4 100644 --- a/test/Marco/prueba/www/include/prepend.php +++ b/test/Marco/prueba/www/include/prepend.php @@ -2,11 +2,19 @@ // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: //ARCHIVO DE PRUEBA DEL OBJETO MARCO -require_once '/var/www/meconlib/MECON/general.php'; +require_once 'MECON/general.php'; -prepend_include_path('/home/mmarrese/public_html/meconlib/tronco/lib/'); +prepend_include_path('/home/mmarrese/public_html/meconlib/lib'); +prepend_include_path('/home/mmarrese/public_html/samurai/lib'); -require_once 'Marco.php'; +require_once 'MECON/Marco.php'; +require_once 'SAMURAI/Perm.php'; +require_once 'DB.php'; + +$db = DB::connect ('mysql://intranet:intranet@bal747f/samurai'); + +$PERM = new SAMURAI_Perm('mmarre@mecon', 60, $db); +$MARCO = new MECON_Marco ('..//conf/confSecciones.php', $PERM); //session_start();