Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: preferences.php 5297 2010-12-28 22:01:14Z Tomm $
| * $Id$
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 62 | Zeile 62 |
---|
$dir = @opendir(MYBB_ADMIN_DIR."/styles"); while($folder = readdir($dir)) {
|
$dir = @opendir(MYBB_ADMIN_DIR."/styles"); while($folder = readdir($dir)) {
|
if($file != "." && $file != ".." && @file_exists(MYBB_ADMIN_DIR."/styles/$folder/main.css"))
| if($folder != "." && $folder != ".." && @file_exists(MYBB_ADMIN_DIR."/styles/$folder/main.css"))
|
{ $folders[$folder] = ucfirst($folder); }
| { $folders[$folder] = ucfirst($folder); }
|