X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/0b7405db420735a9692bde274a7bb30a023d876a..4f3e113d600d55d0788f448ad478f1c9714f48ae:/test/Marco/prueba/www/include/prepend.php?ds=inline diff --git a/test/Marco/prueba/www/include/prepend.php b/test/Marco/prueba/www/include/prepend.php index 7081667..33952f4 100644 --- a/test/Marco/prueba/www/include/prepend.php +++ b/test/Marco/prueba/www/include/prepend.php @@ -2,7 +2,19 @@ // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: //ARCHIVO DE PRUEBA DEL OBJETO MARCO -require_once 'include/lib/marco/Marco.php'; +require_once 'MECON/general.php'; + +prepend_include_path('/home/mmarrese/public_html/meconlib/lib'); +prepend_include_path('/home/mmarrese/public_html/samurai/lib'); + +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();