-
Notifications
You must be signed in to change notification settings - Fork 2
Configuration
To add Your database name and the rest edit mopconfig.php in the src folder
host = name of your host mostly localhost
username = Your database username
password = Your database password
database = Your database name
"host" => 'localhost', //host
"username" => 'root', //username
"password" => '', //password
"database" => 'mop', //database name
Inside injection array put all your table names that you want to prevent people to have access to
.....
"injection" =>
[
"table 1",
"table 2"
]
These is use to allow restricted table name in your query so it must come with your query.
NOTE : only pass it to your query from the admin app.
Should never be in your general app.
....
"masterkey" => 'your master key',
These is use to verify your query all the time.
must be included at every query from your app.
....
"sqlkey" => 'your key',
LICENSE
Fork and feel free to pull request......
MOP is licensed under the MIT License.
Copyright 2021 Hazeezet
π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬ π³π¬