git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10020
7612ce4b-ef26-0410-bec9-
ea0150e637f0
if (!$exist) {
printf(_("%s is not found."),$fortune_location);
} else {
- echo "<center><em>" . _("Today's Fortune") . "</em></center><pre>\n";
- htmlspecialchars(system($fortune_command));
- echo "</pre>\n";
+ echo "<center><em>" . _("Today's Fortune") . "</em></center><pre>\n" .
+ htmlspecialchars(shell_exec($fortune_command)) .
+ "</pre>\n";
}
echo '</td></tr></table></td></tr></table></td></tr></table></center>';
$fortune_visible = getPref($data_dir, $username, 'fortune_visible');
}
-?>
\ No newline at end of file
+?>