Organize directory structure

This commit is contained in:
Jeremy Dormitzer 2018-09-27 00:10:33 -04:00
parent 66dda542b7
commit 5a02ad1d3b
27 changed files with 4 additions and 4 deletions

View File

@ -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() {

View File

@ -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';

View File

@ -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' );