add back required lines with a comment

pull/3038/head
Isaac Connor 2017-05-30 12:03:31 -04:00
parent 0e643f0f93
commit 8a732dff8a
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;