mirror of
https://github.com/felixfoertsch/wordpress-dev-env.git
synced 2026-04-18 15:28:44 +02:00
30 lines
498 B
PHP
30 lines
498 B
PHP
<?php
|
|
/**
|
|
* Plugin.class.php
|
|
* @author AHMeD SAiD
|
|
*/
|
|
|
|
# Define namespace
|
|
namespace WCFE\Config;
|
|
|
|
# Imports
|
|
use WPPFW\Plugin\PluginConfig;
|
|
|
|
/**
|
|
* Plugin configuration class
|
|
*
|
|
* @author AHMeD SAiD
|
|
*/
|
|
class Plugin extends PluginConfig {
|
|
|
|
/**
|
|
* Load Plugin configuration from configuration XML file
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct() {
|
|
# Load plugin.xml file relative to this class
|
|
parent::__construct(file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'plugin.xml'));
|
|
}
|
|
|
|
} |