This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set daemon 5 for fast restart | |
check process mongodb with pidfile /var/lib/mongodb/mongod.lock | |
group database | |
start program = "/bin/systemctl start mongodb" | |
restart program = "/bin/systemctl restart mongodb" | |
stop program = "/bin/systemctl stop mongodb" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$json = file_get_contents('php://input'); | |
$data = json_decode($json, true); | |
$errors = array(); | |
// Form params variables | |
$param1 = ''; | |
$param2 = ''; |