remove session check
This commit is contained in:
@@ -74,14 +74,15 @@ class WrenchMedia extends BaseController
|
|||||||
#define WRENCH_FILE_FAMILY 400
|
#define WRENCH_FILE_FAMILY 400
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if( $this->sessionCheckString($sessionId)== PHP_API_OK ){
|
/*
|
||||||
log_message('critical', "Media gate Path GATE 004 - Pass Session Test");
|
if( $this->sessionCheckString($sessionId)== PHP_API_OK ){
|
||||||
}
|
log_message('critical', "Media gate Path GATE 004 - Pass Session Test");
|
||||||
else{
|
}
|
||||||
// return 0; for now - no session
|
else{
|
||||||
log_message('critical', "Media gate Path GATE 004 - Fail Session Test");
|
// return 0; for now - no session
|
||||||
}
|
log_message('critical', "Media gate Path GATE 004 - Fail Session Test");
|
||||||
|
}
|
||||||
|
*/
|
||||||
log_message('critical', "Media gate Path GATE 005 - Ready to File File ****");
|
log_message('critical', "Media gate Path GATE 005 - Ready to File File ****");
|
||||||
|
|
||||||
$file = FCPATH.'/assets/images/books.png';
|
$file = FCPATH.'/assets/images/books.png';
|
||||||
@@ -100,7 +101,7 @@ class WrenchMedia extends BaseController
|
|||||||
$data = [
|
$data = [
|
||||||
'action' => WRENCHBOARD_GET_MEDIA,
|
'action' => WRENCHBOARD_GET_MEDIA,
|
||||||
'sessionid' => $sessionId,
|
'sessionid' => $sessionId,
|
||||||
'file_section' => $fileSection,
|
'file_section' => $supportedSections[$fileSection],
|
||||||
'file_uid' => $fileUID,
|
'file_uid' => $fileUID,
|
||||||
'file_section_no' =>$supportedSections[$fileSection]
|
'file_section_no' =>$supportedSections[$fileSection]
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user