<?php // vim: set binary noeol et sw=4 sts=4:
-$VERSION = 0.2;
+$VERSION = 0.4;
$NAME = 'sercom';
define('DB_DATAOBJECT_NO_OVERLOAD', 0);
// Seteo umask para que el grupo pueda leer.
-umask(00027);
+umask(00022);
// constantes de logging
require_once 'T/logconstants.php';
}
}
}
+if (!$CONF) {
+ fputs(STDERR, "No se pudo abrir archivo de configuración!\n");
+ exit(1);
+}
unset($cf, $dir);
// Configuración de DB_DataObject
// because PEAR::getstaticProperty was called with and & (get by reference)
// this will actually set the variable inside that method (a quasi static variable)
-$DBO_options = $CONF['DBO'];
+$DBO_options = $CONF['dbo'];
//unset($DBO_options);
require_once 'T/code.php';
// manejador de intentos
require_once 'T/Intento.php';
-// data object
unset($gconf);
-logs("Iniciando {$argv[0]}...");
+logs('Iniciado');
?>
\ No newline at end of file