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