add back required lines with a comment

pull/1894/merge
Isaac Connor 2017-05-30 12:04:12 -04:00
parent c5288a172d
commit e9a0474cf7
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ if ( version_compare( phpversion(), '4.3.0', '<') ) {
}
}
# We are requiring these because this file is getting included from the api, which hasn't already included them.
require_once( 'logger.php' );
require_once( 'database.php' );
function userLogin( $username, $password='', $passwordHashed=false ) {
global $user, $cookies;