X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/0b7405db420735a9692bde274a7bb30a023d876a..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 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();