PluginProbe
Statify / 1.2.8
Statify v1.2.8
2.0.2 2.0.1 trunk 0.7 0.8 0.9 1.0 1.2.8 1.3.0 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 All 32 releases
statify / statify.php

statify.php in Statify 1.2.8, at statify.php

59 lines 996 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Statify
4 Description: Kompakte, begreifliche und datenschutzkonforme Statistik für WordPress.
5 Author: Sergej M&uuml;ller
6 Author URI: http://wpcoder.de
7 Plugin URI: http://statify.de
8 Version: 1.2.8
9 */
10
11
12 /* Quit */
13 defined('ABSPATH') OR exit;
14
15
16 /* Konstanten */
17 define('STATIFY_FILE', __FILE__);
18 define('STATIFY_BASE', plugin_basename(__FILE__));
19
20
21 /* Hooks */
22 add_action(
23 'plugins_loaded',
24 array(
25 'Statify',
26 'instance'
27 )
28 );
29 register_activation_hook(
30 __FILE__,
31 array(
32 'Statify_Install',
33 'init'
34 )
35 );
36 register_uninstall_hook(
37 __FILE__,
38 array(
39 'Statify_Uninstall',
40 'init'
41 )
42 );
43
44
45 /* Autoload Init */
46 spl_autoload_register('statify_autoload');
47
48 /* Autoload Funktion */
49 function statify_autoload($class) {
50 if ( in_array($class, array('Statify', 'Statify_Dashboard', 'Statify_Install', 'Statify_Uninstall', 'Statify_Table', 'Statify_XMLRPC')) ) {
51 require_once(
52 sprintf(
53 '%s/inc/%s.class.php',
54 dirname(__FILE__),
55 strtolower($class)
56 )
57 );
58 }
59 }