Baseline: The current state of the mess
This commit is contained in:
Executable
+26
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/*
|
||||
Plugin Name: Krista Time Clock
|
||||
Description: Internal time tracking system. Localized to Chicago Time.
|
||||
Version: 0.6.0
|
||||
Author: Krista Computers
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit;
|
||||
|
||||
define( 'KTC_PATH', plugin_dir_path( __FILE__ ) );
|
||||
define( 'KTC_TIMEZONE', 'America/Chicago' );
|
||||
|
||||
// Load modular components
|
||||
require_once KTC_PATH . 'includes/class-logic.php';
|
||||
require_once KTC_PATH . 'includes/class-admin.php';
|
||||
|
||||
// Activation & Installation
|
||||
register_activation_hook( __FILE__, array( 'KTC_Logic', 'install' ) );
|
||||
|
||||
// Initialize the Orchestration
|
||||
add_action( 'plugins_loaded', function() {
|
||||
KTC_Logic::init();
|
||||
KTC_Admin::init();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user