"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/install/index.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

index.php  (mybb_1822):index.php  (mybb_1823)
skipping to change at line 1530 skipping to change at line 1530
*/ */
\$config['hide_admin_links'] = 0; \$config['hide_admin_links'] = 0;
/** /**
* Data-cache configuration * Data-cache configuration
* The data cache is a temporary cache * The data cache is a temporary cache
* of the most commonly accessed data in MyBB. * of the most commonly accessed data in MyBB.
* By default, the database is used to store this data. * By default, the database is used to store this data.
* *
* If you wish to use the file system (cache/ directory), MemCache (or MemCache * If you wish to use the file system (cache/ directory), MemCache (or MemCache
d), xcache, APC, or eAccelerator d), xcache, APC, APCu, eAccelerator or Redis
* you can change the value below to 'files', 'memcache', 'memcached', 'xcache' * you can change the value below to 'files', 'memcache', 'memcached', 'xcache'
, 'apc' or 'eaccelerator' from 'db'. , 'apc', 'apcu', 'eaccelerator' or 'redis' from 'db'.
*/ */
\$config['cache_store'] = 'db'; \$config['cache_store'] = 'db';
/** /**
* Memcache configuration * Memcache configuration
* If you are using memcache or memcached as your * If you are using memcache or memcached as your
* data-cache, you need to configure the hostname * data-cache, you need to configure the hostname
* and port of your memcache server below. * and port of your memcache server below.
* *
* If not using memcache, ignore this section. * If not using memcache, ignore this section.
*/ */
\$config['memcache']['host'] = 'localhost'; \$config['memcache']['host'] = 'localhost';
\$config['memcache']['port'] = 11211; \$config['memcache']['port'] = 11211;
/** /**
* Redis configuration
* If you are using Redis as your data-cache
* you need to configure the hostname and port
* of your redis server below. If you want
* to connect via unix sockets, use the full
* path to the unix socket as host and leave
* the port setting unconfigured or false.
*/
\$config['redis']['host'] = 'localhost';
\$config['redis']['port'] = 6379;
/**
* Super Administrators * Super Administrators
* A comma separated list of user IDs who cannot * A comma separated list of user IDs who cannot
* be edited, deleted or banned in the Admin CP. * be edited, deleted or banned in the Admin CP.
* The administrator permissions for these users * The administrator permissions for these users
* cannot be altered either. * cannot be altered either.
*/ */
\$config['super_admins'] = '1'; \$config['super_admins'] = '1';
/** /**
skipping to change at line 2315 skipping to change at line 2328
'threadmode' => '', 'threadmode' => '',
'daysprune' => 0, 'daysprune' => 0,
'regip' => $db->escape_binary(my_inet_pton(get_ip())), 'regip' => $db->escape_binary(my_inet_pton(get_ip())),
'language' => '', 'language' => '',
'showcodebuttons' => 1, 'showcodebuttons' => 1,
'tpp' => 0, 'tpp' => 0,
'ppp' => 0, 'ppp' => 0,
'referrer' => 0, 'referrer' => 0,
'buddylist' => '', 'buddylist' => '',
'ignorelist' => '', 'ignorelist' => '',
'pmfolders' => '', 'pmfolders' => "0**$%%$1**$%%$2**$%%$3**$%%$4**",
'notepad' => '', 'notepad' => '',
'showredirect' => 1, 'showredirect' => 1,
'usernotes' => '' 'usernotes' => ''
); );
$db->insert_query('users', $newuser); $db->insert_query('users', $newuser);
echo $lang->done . '</p>'; echo $lang->done . '</p>';
echo $lang->done_step_adminoptions; echo $lang->done_step_adminoptions;
$adminoptions = file_get_contents(INSTALL_ROOT.'resources/adminoptions.xm l'); $adminoptions = file_get_contents(INSTALL_ROOT.'resources/adminoptions.xm l');
$parser = new XMLParser($adminoptions); $parser = new XMLParser($adminoptions);
skipping to change at line 2402 skipping to change at line 2415
$cache->update_forums(); $cache->update_forums();
$cache->update_moderators(); $cache->update_moderators();
$cache->update_usertitles(); $cache->update_usertitles();
$cache->update_reportedcontent(); $cache->update_reportedcontent();
$cache->update_awaitingactivation(); $cache->update_awaitingactivation();
$cache->update_mycode(); $cache->update_mycode();
$cache->update_profilefields(); $cache->update_profilefields();
$cache->update_posticons(); $cache->update_posticons();
$cache->update_spiders(); $cache->update_spiders();
$cache->update_bannedips(); $cache->update_bannedips();
$cache->update_banned();
$cache->update_bannedemails(); $cache->update_bannedemails();
$cache->update_birthdays(); $cache->update_birthdays();
$cache->update_groupleaders(); $cache->update_groupleaders();
$cache->update_threadprefixes(); $cache->update_threadprefixes();
$cache->update_forumsdisplay(); $cache->update_forumsdisplay();
$cache->update("plugins", array()); $cache->update("plugins", array());
$cache->update("internal_settings", array('encryption_key' => random_str( 32))); $cache->update("internal_settings", array('encryption_key' => random_str( 32)));
$cache->update_default_theme(); $cache->update_default_theme();
$cache->update_reportreasons(true); $cache->update_reportreasons(true);
 End of changes. 4 change blocks. 
6 lines changed or deleted 18 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)