Skip to content

Commit

Permalink
Fix require php_markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
MWDelaney committed Sep 18, 2013
1 parent 4997ab1 commit b77e92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/bootstrap-shortcodes-help.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function retitle($match) {
$thisfile = realpath(dirname(__FILE__));
# Install PSR-0-compatible class autoloader
spl_autoload_register(function($class){
require preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php';
require 'php_markdown/' . preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php';
});

# Get Markdown class
Expand Down

0 comments on commit b77e92b

Please sign in to comment.