2009-10-31 10:15:32 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Simply create a test user in the database with "test" as password
|
|
|
|
*/
|
2010-01-19 22:58:19 +00:00
|
|
|
require_once dirname(__FILE__) . '/../src/SemanticScuttle/header-standalone.php';
|
2009-10-31 10:15:32 +00:00
|
|
|
|
|
|
|
$us = SemanticScuttle_Service_Factory::get('User');
|
|
|
|
$us->addUser('test', 'test', 'test@example.org');
|
2009-11-26 08:18:11 +00:00
|
|
|
$us->addUser('admin', 'admin', 'admin@example.org');
|
2009-10-31 10:15:32 +00:00
|
|
|
?>
|