Organize directory structure
This commit is contained in:
parent
66dda542b7
commit
5a02ad1d3b
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
namespace init;
|
||||
|
||||
require_once plugin_dir_path( __FILE__ ) . '/api.php';
|
||||
require_once plugin_dir_path( __FILE__ ) . '/actors.php';
|
||||
require_once plugin_dir_path( __FILE__ ) . '/server/api.php';
|
||||
require_once plugin_dir_path( __FILE__ ) . '/server/actors.php';
|
||||
require_once plugin_dir_path( __FILE__ ) . '/migrations.php';
|
||||
|
||||
add_action( 'rest_api_init', function() {
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace activities\undo;
|
||||
|
||||
require_once plugin_dir_path( __FILE__ ) . '/../util.php';
|
||||
require_once plugin_dir_path( __FILE__ ) . '/../../util.php';
|
||||
require_once plugin_dir_path( __FILE__ ) . '/../activities.php';
|
||||
require_once plugin_dir_path( __FILE__ ) . '/../actors.php';
|
||||
require_once plugin_dir_path( __FILE__ ) . '/../objects.php';
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
Plugin Name: Pterotype
|
||||
*/
|
||||
require_once plugin_dir_path( __FILE__ ) . 'inc/init.php';
|
||||
require_once plugin_dir_path( __FILE__ ) . 'includes/init.php';
|
||||
|
||||
define( 'PTEROTYPE_VERSION', '0.0.4' );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user