2009-06-22, 01:43 AM
When adding multiple smilies, if you enter the wrong path, you get the two following php errors at the top of the page:
Warning [2] readdir(): supplied argument is not a valid Directory resource - Line: 303 - File: [admin_folder]/modules/config/smilies.php PHP 5.2.9 (Linux)
Warning [2] closedir(): supplied argument is not a valid Directory resource - Line: 317 - File: [admin_folder]/modules/config/smilies.php PHP 5.2.9 (Linux)
Supplying the correct path allows the function to work as expected.
Warning [2] readdir(): supplied argument is not a valid Directory resource - Line: 303 - File: [admin_folder]/modules/config/smilies.php PHP 5.2.9 (Linux)
Warning [2] closedir(): supplied argument is not a valid Directory resource - Line: 317 - File: [admin_folder]/modules/config/smilies.php PHP 5.2.9 (Linux)
Supplying the correct path allows the function to work as expected.