function build_points() { $sqlite = init_db(); $points = parse_db($sqlite); $sqlite->close(); return $points; }
die("Cannot be used in web server mode\n\n"); } include_once dirname(__FILE__) . '/ressources/class.templates.inc'; include_once dirname(__FILE__) . '/ressources/class.ini.inc'; include_once dirname(__FILE__) . '/ressources/class.users.menus.inc'; include_once dirname(__FILE__) . '/ressources/class.mysql.inc'; include_once dirname(__FILE__) . "/framework/class.unix.inc"; include_once dirname(__FILE__) . "/framework/frame.class.inc"; include_once dirname(__FILE__) . '/ressources/class.emailings.inc'; include_once dirname(__FILE__) . '/ressources/class.ldap.inc'; include_once dirname(__FILE__) . '/ressources/class.user.inc'; if (preg_match("#--verbose#", implode(" ", $argv))) { $GLOBALS["VERBOSE"] = true; } if ($argv[1] == "--id") { parse_db($argv[2]); die; } if ($argv[1] == "--import-id") { import_users($argv[2]); die; } if ($argv[1] == "--make-unique") { make_database_unique($argv[2]); die; } if ($argv[1] == "--get-prefix") { get_prefix($argv[2]); die; } $unix = new unix();