Files
godot-question2answer/qa-plugin/Donut-admin/qa-plugin.php
Emi 07ec659385 Importing project into Git
This project lived only on the server without version control. This is now the starting point for the repository.
2023-05-23 20:03:24 +02:00

40 lines
1.5 KiB
PHP

<?php
/*
Plugin Name: Donut theme Admin Panel
Plugin URI: https://github.com/amiyasahu/Donut/
Plugin Description: Provides customization support for Donut theme
Plugin Version: 2.1.1
Plugin Date: 2018-12-06
Plugin Author: Amiya Sahu
Plugin Author URI: http://www.amiyasahu.github.io/
Plugin License: GPLv2
Plugin Minimum Question2Answer Version: 1.6
Plugin Update Check URI: https://github.com/amiyasahu/Donut/blob/master/qa-plugin/Donut-admin/metadata.json
*/
if ( !defined( 'QA_VERSION' ) ) { // don't allow this page to be requested directly from browser
exit;
}
//Define global constants
@define( 'DONUT_ADMIN_PLUGIN_DIR', dirname( __FILE__ ) );
@define( 'DONUT_ADMIN_PLUGIN_FOLDER', basename( dirname( __FILE__ ) ) );
@define( 'DONUT_CURR_DB_VERSION', 1 ); //Helps in updating new mandatory options
require_once DONUT_ADMIN_PLUGIN_DIR . '/functions.php';
require_once DONUT_ADMIN_PLUGIN_DIR . '/admin/options.php';
require_once DONUT_ADMIN_PLUGIN_DIR . '/admin/admin-routing.php';
//register override module
qa_register_plugin_overrides( 'overrides/overrides.php' );
qa_register_plugin_phrases( 'lang/donut-lang-*.php', 'donut' );
qa_register_plugin_phrases( 'lang/donut-options-lang-*.php', 'donut_options' );
qa_register_plugin_module( 'event', 'install/install.php', 'donut_theme_install', 'Donut theme Installation Module' );
/*
Omit PHP closing tag to help avoid accidental output
*/