SemanticScuttle/scripts/create-testuser.php
2010-01-19 22:58:19 +00:00

10 lines
No EOL
323 B
PHP

<?php
/**
* Simply create a test user in the database with "test" as password
*/
require_once dirname(__FILE__) . '/../src/SemanticScuttle/header-standalone.php';
$us = SemanticScuttle_Service_Factory::get('User');
$us->addUser('test', 'test', 'test@example.org');
$us->addUser('admin', 'admin', 'admin@example.org');
?>