List of options:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add the following to the end of your config_inc.php | |
# | |
# Enable strict error reporting | |
# | |
$g_display_errors = array( | |
E_WARNING => 'halt', | |
E_NOTICE => 'halt', | |
E_USER_ERROR => 'halt', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$t_vars = get_defined_vars(); | |
foreach ( array_keys( $t_vars ) as $t_var ) { | |
if ( substr( $t_var, 0, 2 ) == 's_' ) { | |
$t_value = $$t_var; | |
$t_value = str_replace( 'Issue', 'Bug', $t_value ); | |
$$t_var = $t_value; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
This script works much like gravatar | |
Put avatar files in $imagedir with the same name as the md5sum of the users emailaddress | |
*/ | |
$imagedir = "/usr/share/mantis/www/avatar/images/"; | |
$allOk = true; | |
$requestedfile = false; |
I hereby claim:
- I am vboctor on github.
- I am vboctor (https://keybase.io/vboctor) on keybase.
- I have a public key whose fingerprint is 8079 96A5 AAFD C2F3 466D D672 9839 9BB0 8EBC 1D10
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Installs tarsnap client on Debian and Ubuntu | |
# | |
# You'll need to setup an account at | |
# http://www.tarsnap.com | |
# and load it with some funds | |
# | |
# Make sure you run this as root | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is the content of the gist. |