using popen instead of shell_exec. shell_exec is disabled in safe mode.
[squirrelmail.git] / plugins / fortune / config_sample.php
diff --git a/plugins/fortune/config_sample.php b/plugins/fortune/config_sample.php
new file mode 100644 (file)
index 0000000..eb8fc56
--- /dev/null
@@ -0,0 +1,20 @@
+<?php
+
+/**
+ * Sample Fortune plugin configuration file
+ *
+ * Configuration defaults to /usr/games/fortune with short quotes
+ *
+ * @copyright &copy; 2004-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage fortune
+ */
+
+/**
+ * Command that is used to display fortune cookies
+ * @global string $fortune_command
+ * @since 1.5.2
+ */
+$fortune_command = '/usr/games/fortune -s';