Baseline: The current state of the mess

This commit is contained in:
2026-05-05 17:35:02 -05:00
commit 1672f922fd
10 changed files with 2089 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
/*
Plugin Name: Krista Time Clock
Description: Modularized time tracking system. Localized to Chicago Time.
Version: 0.6.0
Author: Krista Computers
*/
if ( ! defined( 'ABSPATH' ) ) exit;
// 1. Constants
define( 'KTC_VERSION', '0.6.0' );
define( 'KTC_PATH', plugin_dir_path( __FILE__ ) );
define( 'KTC_TIMEZONE', 'America/Chicago' );
// 2. Resource Loading
require_once KTC_PATH . 'includes/class-logic.php';
require_once KTC_PATH . 'includes/class-admin.php';
// 3. Initialization
register_activation_hook( __FILE__, array( 'KTC_Logic', 'install' ) );
add_action( 'plugins_loaded', function() {
KTC_Logic::init();
KTC_Admin::init();
});