Vergleich inc/init.php - 1.4.2 - 1.4.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: init.php 4081 2008-08-08 01:47:02Z Tikitiki $

 * $Id: init.php 4305 2009-01-02 08:05:39Z Tikitiki $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 185Zeile 185
if(substr($settings['bburl'], -1) == "/")
{
$settings['bburl'] = my_substr($settings['bburl'], 0, -1);

if(substr($settings['bburl'], -1) == "/")
{
$settings['bburl'] = my_substr($settings['bburl'], 0, -1);

 
}

$settings['internal'] = $cache->read("internal_settings");
if(!$settings['internal']['encryption_key'])
{
$cache->update("internal_settings", array('encryption_key' => random_str(32)));
$settings['internal'] = $cache->read("internal_settings");

}

$mybb->settings = &$settings;

}

$mybb->settings = &$settings;