interest processing
This commit is contained in:
@@ -88,6 +88,7 @@ $endpoints = array(
|
||||
'activetaskstatus'=> array('POST'),
|
||||
'offersinterestlist' => array('POST'),
|
||||
'faq' => array('POST'),
|
||||
'offersinterestproc' => array('POST'),
|
||||
);
|
||||
|
||||
$call_backend = true; // sometimes we need to overwite the call to the extenstion API
|
||||
@@ -179,6 +180,9 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") {
|
||||
}
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
switch ($endpoint) {
|
||||
case 'offersinterestproc':
|
||||
$in["action"] = WRENCHBOARD_JOB_PROC_INTEREST;
|
||||
break;
|
||||
case 'faq':
|
||||
$local_out = faqData();
|
||||
$call_backend = false;
|
||||
|
||||
Reference in New Issue
Block a user