Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Login.php #152

Merged
merged 1 commit into from
Aug 17, 2013
Merged

Update Login.php #152

merged 1 commit into from
Aug 17, 2013

Conversation

devplanete
Copy link
Contributor

modification of Login.php to replace all direct calls to "new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME)" by the function "private function databaseConnection()"

This function check if database connection already opened, create connection if needed and return true or false (if false, error message is added to error string of the class)

creation of a database connection function
panique added a commit that referenced this pull request Aug 17, 2013
@panique panique merged commit 0cd7d52 into panique:develop Aug 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants