Project

General

Profile

1
//:Create a random oneliner on your page
2
//:Use: [[OneLiner]].
3
//:The file with the oneliner data is located in /modules/droplets/example/oneliners.txt;
4
$line = file (dirname(__FILE__)."/example/oneliners.txt");
5
shuffle($line);
6
return $line[0];
(6-6/17)