Magellan Linux

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

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

revision 2636 by niro, Thu Jul 7 19:49:18 2011 UTC revision 2637 by niro, Thu Jul 7 20:00:42 2011 UTC
# Line 129  exec($wwwroot.'/pnabrowse-wrapper -A '.$ Line 129  exec($wwwroot.'/pnabrowse-wrapper -A '.$
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.";

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