WWW. Redirect Scripts
LoadModule rewrite_module modules/mod_rewrite.so
RewriteEngine On
RewriteCond %{HTTP_HOST} ^github.com
RewriteRule (.*) http://www.github.com/$1 [R=301,L]
<?php | |
/** | |
* Checks whether there are any 'security' issues in templates via complex syntax | |
* | |
* @param string The template to be scanned | |
* @return boolean A true/false depending on if an issue was detected | |
*/ | |
function check_template($template) | |
{ | |
// Check to see if our database password is in the template |
<?php | |
/** | |
* Database configuration | |
* | |
* Please see the MyBB Docs for advanced | |
* database configuration for larger installations | |
* http://docs.mybb.com/ | |
*/ | |
$config['database']['type'] = 'mysqli'; |
An IRC bot to inform icyboards101 users that support is not provided at irc.icyboards.com#icynetwork
package.json
and the icybot.js
files.<?php | |
define("IN_MYBB", 1); | |
define('THIS_SCRIPT', 'what_are_my_perms.php'); | |
require_once "./global.php"; | |
if($mybb->user['uid'] == 0) | |
{ | |
// User is a guest |
I hereby claim:
To claim this, I am signing this object:
You only need to perform these actions once on your local copy of your fork.
git remote add upstream https://github.com/mybb/mybb.git
Run these commands to create a branch fix-1234
with a starting point of the last commit from the mybb/mybb repo.