a guest Jul 20th, 2017 461 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- require ‘/home/www/indefero/src/IDF/conf/path.php’;
- require ‘Pluf.php’;
- $user = new Pluf_User();
- $user->first_name = ‘John’;
- $user->last_name = ‘Doe’; // Required!
- $user->login = ‘doe’; // must be lowercase!
- $user->email = ‘firstname.lastname@example.org’;
- $user->password = ‘yourpassword’; // the password is salted/hashed
- // in the database, so do not worry :)
- $user->administrator = true;
- $user->active = true;
- print “Bootstrap ok\n”;
RAW Paste Data