Magellan Linux

Diff of /alx-src/branches/alx-web-060/show.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2637 by niro, Thu Jul 7 20:00:42 2011 UTC revision 2638 by niro, Thu Jul 7 20:01:30 2011 UTC
# Line 125  $drop['wireless_key_ascii'] = 'password' Line 125  $drop['wireless_key_ascii'] = 'password'
125  // get current citrix sessions  // get current citrix sessions
126  // split all citrix server into an array to get the first server from list  // split all citrix server into an array to get the first server from list
127  $citrix_query_browser = split(";", $citrix_browseradrs);  $citrix_query_browser = split(";", $citrix_browseradrs);
128  exec($wwwroot.'/pnabrowse-wrapper -A '.$citrix_query_browser[0], $returned_citrix_sessions,$retval);  exec($wwwroot.'/pnabrowse-wrapper -A '.$citrix_query_browser[0], $returned_citrix_sessions, $retval);
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   // add an empty value add the first position of the array as session-default
133   array_unshift($citrix_public_applications);   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.";

Legend:
Removed from v.2637  
changed lines
  Added in v.2638