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 5380 2011-02-21 12:04:43Z 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); }
|