-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgeistpress.php
More file actions
36 lines (31 loc) · 1.29 KB
/
Copy pathgeistpress.php
File metadata and controls
36 lines (31 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/*
Plugin Name: GeistPress framework
Plugin URI:
Description: A framework for WordPress developers.
Version: 0.1.0
Author: Pascal Kleindienst
Author URI: https://www.pascalkleindienst.de/
License: GPLv3
*/
require_once __DIR__ . '/vendor/autoload.php';
/*----------------------------------------------------*/
// The directory separator.
/*----------------------------------------------------*/
defined('DS') ? DS : define('DS', DIRECTORY_SEPARATOR);
/*----------------------------------------------------*/
// Geistpress textdomain.
/*----------------------------------------------------*/
defined('GEISTPRESS_TEXTDOMAIN') ? GEISTPRESS_TEXTDOMAIN : define('GEISTPRESS_TEXTDOMAIN', 'geistpress-framework');
/*----------------------------------------------------*/
// Storage path.
/*----------------------------------------------------*/
defined('GEISTPRESS_STORAGE') ? GEISTPRESS_STORAGE : define('GEISTPRESS_STORAGE', WP_CONTENT_DIR.DS.'storage');
/*----------------------------------------------------*/
// Bootstrap App
/*----------------------------------------------------*/
$app = new \GeistPress\Foundation\Application();
/*----------------------------------------------------*/
// Make App available globally
/*----------------------------------------------------*/
$GLOBALS['geistpress'] = $app;