diff options
| author | modela bitweaver <spiderr@bitweaver.org> | 2021-02-02 01:10:32 -0500 |
|---|---|---|
| committer | modela bitweaver <spiderr@bitweaver.org> | 2021-02-02 01:10:32 -0500 |
| commit | 7d44ce010e8f0ee26c7233d99bc0a8eb46cbc16a (patch) | |
| tree | 82be820e79872e33b7a06bb90032564a894fafb5 /edit.php | |
| parent | bc123ce74635945fd967a862bcf4cf77451e86fd (diff) | |
| download | articles-7d44ce010e8f0ee26c7233d99bc0a8eb46cbc16a.tar.gz articles-7d44ce010e8f0ee26c7233d99bc0a8eb46cbc16a.tar.bz2 articles-7d44ce010e8f0ee26c7233d99bc0a8eb46cbc16a.zip | |
move _inc and _lib to includes/ and use PKG_INCLUDE_PATH constants
Diffstat (limited to 'edit.php')
| -rw-r--r-- | edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,12 +13,12 @@ * Initialization */ require_once '../kernel/setup_inc.php'; -require_once( ARTICLES_PKG_PATH . 'BitArticle.php' ); +require_once( ARTICLES_PKG_CLASS_PATH.'BitArticle.php' ); // Is package installed and enabled $gBitSystem->verifyPackage( 'articles' ); -include_once 'lookup_article_inc.php'; +require_once( ARTICLES_PKG_INCLUDE_PATH.'lookup_article_inc.php' ); if ( $gContent->isValid() ) { $gContent->verifyUpdatePermission(); |
