diff options
| author | modela bitweaver <spiderr@bitweaver.org> | 2021-02-01 23:54:14 -0500 |
|---|---|---|
| committer | modela bitweaver <spiderr@bitweaver.org> | 2021-02-01 23:54:14 -0500 |
| commit | 8e42273cc4e4ea21a6955fb1fce5a3aed5b96df5 (patch) | |
| tree | c3051aced4ea7e7129a6bde669c4ee93fd978212 /admin | |
| parent | cec3828fae8fc189f0f0ae6057a92b36641aab2d (diff) | |
| download | blogs-8e42273cc4e4ea21a6955fb1fce5a3aed5b96df5.tar.gz blogs-8e42273cc4e4ea21a6955fb1fce5a3aed5b96df5.tar.bz2 blogs-8e42273cc4e4ea21a6955fb1fce5a3aed5b96df5.zip | |
move _inc and classes to includes/classes and use PKG_CLASS/INCLUDE_PATH constants
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_blogs_inc.php | 2 | ||||
| -rw-r--r-- | admin/pump_blogs_inc.php | 2 | ||||
| -rw-r--r-- | admin/schema_inc.php | 4 | ||||
| -rw-r--r-- | admin/upgrade_inc.php | 2 | ||||
| -rw-r--r-- | admin/wp-migrate.php | 6 |
5 files changed, 8 insertions, 8 deletions
diff --git a/admin/admin_blogs_inc.php b/admin/admin_blogs_inc.php index 434816f..0a5f0dc 100644 --- a/admin/admin_blogs_inc.php +++ b/admin/admin_blogs_inc.php @@ -2,7 +2,7 @@ // $Header$ // get a list of blogs for the selection of the home blog -require_once( BLOGS_PKG_PATH.'BitBlog.php' ); +require_once( BLOGS_PKG_CLASS_PATH.'BitBlog.php' ); $blog = new BitBlog(); $listHash['sort_mode'] = 'created_desc'; $blogList = $blog->getList( $listHash ); diff --git a/admin/pump_blogs_inc.php b/admin/pump_blogs_inc.php index 462d282..caf0ff6 100644 --- a/admin/pump_blogs_inc.php +++ b/admin/pump_blogs_inc.php @@ -9,7 +9,7 @@ /** * required setup */ -include_once( BLOGS_PKG_PATH.'BitBlog.php' ); +include_once( BLOGS_PKG_CLASS_PATH.'BitBlog.php' ); $pageHash = array( 'fSavePage' => TRUE, diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 8625d5b..dd14aba 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -122,8 +122,8 @@ if(defined('RSS_PKG_NAME')) { // ### Register content types $gBitInstaller->registerContentObjects( BLOGS_PKG_NAME, array( - 'BitBlog'=>BLOGS_PKG_PATH.'BitBlog.php', - 'BitBlogPost'=>BLOGS_PKG_PATH.'BitBlogPost.php' + 'BitBlog'=>BLOGS_PKG_CLASS_PATH.'BitBlog.php', + 'BitBlogPost'=>BLOGS_PKG_CLASS_PATH.'BitBlogPost.php' )); // Requirements diff --git a/admin/upgrade_inc.php b/admin/upgrade_inc.php index 3edf798..1eaa2c3 100644 --- a/admin/upgrade_inc.php +++ b/admin/upgrade_inc.php @@ -2,7 +2,7 @@ global $gBitSystem, $gUpgradeFrom, $gUpgradeTo, $gBitDb; -require_once( BLOGS_PKG_PATH.'BitBlogPost.php' ); +require_once( BLOGS_PKG_CLASS_PATH.'BitBlogPost.php' ); $upgrades = array( diff --git a/admin/wp-migrate.php b/admin/wp-migrate.php index 8389d72..7bd1a9a 100644 --- a/admin/wp-migrate.php +++ b/admin/wp-migrate.php @@ -20,8 +20,8 @@ require_once( '../../kernel/setup_inc.php' ); //require_once(USERS_PKG_PATH.'RoleUser.php'); -require_once(BLOGS_PKG_PATH.'BitBlog.php'); -require_once(BLOGS_PKG_PATH.'BitBlogPost.php'); +require_once(BLOGS_PKG_CLASS_PATH.'BitBlog.php'); +require_once(BLOGS_PKG_CLASS_PATH.'BitBlogPost.php'); require_once(LIBERTY_PKG_PATH.'LibertyComment.php'); $gBitSystem->verifyPermission( 'p_admin' ); @@ -353,4 +353,4 @@ function migrate_wp_comments() { } } -?>
\ No newline at end of file +?> |
