diff options
author | Dane Smith <c1pher@c1pher.net> | 2014-12-12 19:19:04 -0500 |
---|---|---|
committer | Dane Smith <c1pher@c1pher.net> | 2014-12-12 19:19:04 -0500 |
commit | 63c7bfdb84648a2c41da5febcb1c008dfd597a33 (patch) | |
tree | fc8b7410590a42daf1cf35b2567ca744b9fb3851 /www-apps/indefero/files/bootstrap.php | |
parent | Live ebuild for webscarab (diff) | |
download | c1pher-63c7bfdb84648a2c41da5febcb1c008dfd597a33.tar.gz c1pher-63c7bfdb84648a2c41da5febcb1c008dfd597a33.tar.bz2 c1pher-63c7bfdb84648a2c41da5febcb1c008dfd597a33.zip |
Drop ancient stuff
Diffstat (limited to 'www-apps/indefero/files/bootstrap.php')
-rw-r--r-- | www-apps/indefero/files/bootstrap.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/www-apps/indefero/files/bootstrap.php b/www-apps/indefero/files/bootstrap.php deleted file mode 100644 index e1ee96f..0000000 --- a/www-apps/indefero/files/bootstrap.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php -set_include_path("/usr/share/php/pluf"); - -require '/<PATH TO INDEFERO>/src/IDF/conf/path.php'; -require 'Pluf.php'; - -Pluf::start('/<PATH TO INDEFERO>/src/IDF/conf/idf.php'); -Pluf_Dispatcher::loadControllers(Pluf::f('idf_views')); - -$user = new Pluf_User(); -$user->first_name = 'Foo'; -$user->last_name = 'Bar'; // Required! -$user->login = 'foobar'; // must be lowercase! -$user->email = 'foo@bar.com'; -$user->password = 'foobarbaz'; // the password is salted/hashed -// in the database, so do not worry :) -$user->administrator = true; -$user->active = true; -$user->create(); -print "Bootstrap ok\n"; -?> - |