Now only define PHPWORD_BASE_PATH once
This commit is contained in:
parent
b6a5bf21b8
commit
5c6319f15b
@ -25,7 +25,9 @@
|
|||||||
* @version 0.7.0
|
* @version 0.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define('PHPWORD_BASE_PATH', realpath(__DIR__ . '/../') . '/');
|
if (!defined('PHPWORD_BASE_PATH')) {
|
||||||
|
define('PHPWORD_BASE_PATH', realpath(__DIR__ . '/../') . '/');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PHPWord_Autoloader
|
* Class PHPWord_Autoloader
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user