*/ echo '

Installed programs

' . "\n"; echo '

Archivers

' . "\n"; echo '

The table below lists information about some standard archivers (aka \'packers\') on your system.

' . "\n"; echo '

If a program is installed, the second column will list the path to this archiver. Just copy the value from the column Path to archiver\'s binary and insert in your DokuWiki\'s plugin configuration in the field plugin > offline > archiverPathToBinary .

' . "\n"; echo '

If one of the programs is not available the information \'Not installed\' will be given. This means you cannot use this specific program to include all your wiki files in one single file for convenient download.

' . "\n"; $outStr .= '' . "\n"; $outStr .= ' ' . "\n"; $outStr .= ' ' . "\n"; $outStr .= ' ' . "\n"; $outStr .= ' ' . "\n"; foreach(array('zip', 'unzip', 'bzip', 'gzip', 'rar', 'tar') as $packerNameStr) { unset($outputArr); exec('which ' . $packerNameStr, $outputArr); if (isset($outputArr[0])) { $packerPathStr = ''; $tdStyleStr = ''; } else { $packerPathStr = 'Not installed.'; $tdStyleStr = ' style="color: #AAAAAA; "'; } $outStr .= ' ' . "\n"; $outStr .= ' ' . "\n"; $outStr .= ' ' . $packerPathStr . '' . "\n"; $outStr .= ' ' . "\n"; } $outStr .= '
ProgramPath to binary
' . $packerNameStr . '
' . "\n"; $outStr .= '

Wget

' . "\n"; $outStr .= '

(In some configurations the command \'which\' might not return a path though wget is installed.)

' . "\n"; $outStr .= '' . "\n"; $outStr .= ' ' . "\n"; $outStr .= ' ' . "\n"; $outStr .= ' ' . "\n"; $outStr .= ' ' . "\n"; unset($outputArr); exec('which wget', $outputArr); if (isset($outputArr[0])) { $wgetPathStr = ''; $tdStyleStr = ''; } else { $wgetPathStr = 'Not installed.'; $tdStyleStr = ' style="color: #AAAAAA; "'; } $outStr .= ' ' . "\n"; $outStr .= ' ' . "\n"; $outStr .= ' ' . $wgetPathStr . '' . "\n"; $outStr .= ' ' . "\n"; $outStr .= '
ProgramPath to binary
wget
' . "\n"; echo $outStr; ?>