summaryrefslogtreecommitdiff
path: root/scripts/create-testuser.php
blob: 0a74f6cff3418531a833f78ffe29b679deab68bd (plain)
1
2
3
4
5
6
7
8
9
10
<?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');
?>