X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/0b7405db420735a9692bde274a7bb30a023d876a..c49c4882cf7f68c039797ec1fe9d2fb036597965:/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..4bb4724 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 ('/var/www/sistemas/prueba/conf/confSecciones.php', $PERM); //session_start();