From: <var...@us...> - 2017-08-10 14:13:18
|
Revision: 10025 http://sourceforge.net/p/phpwiki/code/10025 Author: vargenau Date: 2017-08-10 14:13:16 +0000 (Thu, 10 Aug 2017) Log Message: ----------- Use __construct Modified Paths: -------------- trunk/themes/Hawaiian/lib/random.php Modified: trunk/themes/Hawaiian/lib/random.php =================================================================== --- trunk/themes/Hawaiian/lib/random.php 2017-08-10 14:12:30 UTC (rev 10024) +++ trunk/themes/Hawaiian/lib/random.php 2017-08-10 14:13:16 UTC (rev 10025) @@ -30,7 +30,7 @@ * $imgSet = new randomImage($WikiTheme->file("images/pictures")); * $imgFile = "pictures/" . $imgSet->filename; */ - function randomImage($dirname) + function __construct($dirname) { $this->filename = ""; // Pick up your filename here. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |