using popen instead of shell_exec. shell_exec is disabled in safe mode.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 7 Jul 2006 12:53:50 +0000 (12:53 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 7 Jul 2006 12:53:50 +0000 (12:53 +0000)
commitc3806a9dc07e4bf45491e7120a1c931332f2e555
tree1345ab1cd45e3eab605108346d640306f63e4955
parentbfb5513495378807720cf253c2f10b362abe14b5
using popen instead of shell_exec. shell_exec is disabled in safe mode.
default configuration moved to functions.php
file_exists() test is no longer used because it is not accurate (#1499134) and
requires full path to fortune program.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11361 7612ce4b-ef26-0410-bec9-ea0150e637f0
plugins/fortune/config_sample.php [moved from plugins/fortune/config_default.php with 51% similarity]
plugins/fortune/functions.php
plugins/fortune/setup.php