X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/5df0c5621bbee83b19a5ed01975135203dd33c34..1209440ef94cb8b357936a78c56b9872d4fb5ae5:/test/Marco/prueba/www/include/prepend.php diff --git a/test/Marco/prueba/www/include/prepend.php b/test/Marco/prueba/www/include/prepend.php index 04d92fc..33952f4 100644 --- a/test/Marco/prueba/www/include/prepend.php +++ b/test/Marco/prueba/www/include/prepend.php @@ -4,9 +4,17 @@ //ARCHIVO DE PRUEBA DEL OBJETO MARCO 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 '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();