SHARE
TWEET

Untitled

a guest Jul 20th, 2017 461 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     <?php
  2.     require ‘/home/www/indefero/src/IDF/conf/path.php’;
  3.     require ‘Pluf.php’;
  4.     Pluf::start(‘/home/www/indefero/src/IDF/conf/idf.php’);
  5.     Pluf_Dispatcher::loadControllers(Pluf::f(‘idf_views’));
  6.     $user = new Pluf_User();
  7.     $user->first_name = ‘John’;
  8.     $user->last_name = ‘Doe’; // Required!
  9.     $user->login = ‘doe’; // must be lowercase!
  10.     $user->email = ‘doe@example.com’;
  11.     $user->password = ‘yourpassword’; // the password is salted/hashed
  12.     // in the database, so do not worry :)
  13.     $user->administrator = true;
  14.     $user->active = true;
  15.     $user->create();
  16.     print “Bootstrap ok\n”;
  17.     ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top