create ZM_PATH_SOCKS if it doesn't exist

This commit is contained in:
Isaac Connor 2018-08-11 13:35:57 -04:00
parent 17a02d66f7
commit 94401b6765
1 changed files with 6 additions and 3 deletions

View File

@ -3,11 +3,14 @@
$start_time = time();
define( 'MSG_TIMEOUT', ZM_WEB_AJAX_TIMEOUT/2 );
define( 'MSG_DATA_SIZE', 4+256 );
define('MSG_TIMEOUT', ZM_WEB_AJAX_TIMEOUT/2);
define('MSG_DATA_SIZE', 4+256);
if ( !($_REQUEST['connkey'] && $_REQUEST['command']) ) {
ajaxError( "Unexpected received message type '$type'" );
ajaxError("Unexpected received message type '$type'");
}
if (!mkdir(ZM_PATH_SOCKS) ) {
}
# The file that we point ftok to has to exist, and only exist if zms is running, so we are pointing it at the .sock