500 Internal Server Error when importing templates

When importing a template, if you're shown a "500 Internal Server Error", this can be solved by adding the following to your "wp-config.php" file.