129 |
if ($retval == 0) |
if ($retval == 0) |
130 |
{ |
{ |
131 |
$citrix_public_applications = str_replace("'", "", $returned_citrix_sessions); |
$citrix_public_applications = str_replace("'", "", $returned_citrix_sessions); |
132 |
|
// add an empty value add the first position of the array as session-default |
133 |
|
array_unshift($citrix_public_applications); |
134 |
for ($i=0; $i<999; $i++) { $drop['cfg_sessions_'.$i.'_session'] = $citrix_public_applications; } |
for ($i=0; $i<999; $i++) { $drop['cfg_sessions_'.$i.'_session'] = $citrix_public_applications; } |
135 |
} |
} |
136 |
else if($retval = 126) echo "pnabrowser-wrapper has no execute permission! please run chmod +x on ".$wwwroot."/pnabrowser-wrapper."; |
else if($retval = 126) echo "pnabrowser-wrapper has no execute permission! please run chmod +x on ".$wwwroot."/pnabrowser-wrapper."; |