| 1 |
<?php |
| 2 |
|
| 3 |
// Use this file if you cannot use class autoloading. It will include all the |
| 4 |
// files needed for the Markdown parser. |
| 5 |
// |
| 6 |
// Take a look at the PSR-0-compatible class autoloading implementation |
| 7 |
// in the Readme.php file if you want a simple autoloader setup. |
| 8 |
|
| 9 |
if ( ! interface_exists( 'Michelf\MarkdownInterface' ) ) { |
| 10 |
|
| 11 |
require_once dirname(__FILE__) . '/MarkdownInterface.php'; |
| 12 |
} |
| 13 |
|
| 14 |
if ( ! class_exists( 'Michelf\Markdown' ) ) { // Implements MarkdownInterface. |
| 15 |
|
| 16 |
require_once dirname(__FILE__) . '/Markdown.php'; |
| 17 |
} |
| 18 |
|