PluginProbe ʕ •ᴥ•ʔ
PublishPress Capabilities – User Role Editor, Access Permissions, User Capabilities, Admin Menus / 1.5
PublishPress Capabilities – User Role Editor, Access Permissions, User Capabilities, Admin Menus v1.5
2.45.0 2.44.0 trunk 1.10 1.10.1 1.4.1 1.4.10 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5 1.5.1 1.5.10 1.5.11 1.5.2 1.5.3 1.5.4 1.5.5 1.5.7 1.5.8 1.5.9 1.6 1.6.1 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.8.1 1.9 1.9.10 1.9.12 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.9 2.0 2.0.2 2.0.3 2.1 2.1.1 2.10.0 2.10.1 2.10.2 2.10.3 2.11.1 2.12.1 2.12.2 2.13.0 2.14.0 2.15.0 2.16.0 2.17.0 2.18.0 2.18.2 2.19.0 2.19.1 2.19.2 2.2 2.2.1 2.20.0 2.21.0 2.22.0 2.23.0 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.30.0 2.31.0 2.32.0 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.40.0 2.41.0 2.42.0 2.43.0 2.5.0 2.5.1 2.5.2 2.6.0 2.6.1 2.7.0 2.7.1 2.8.0 2.8.1 2.9.0 2.9.1
capability-manager-enhanced / framework / init.php
capability-manager-enhanced / framework Last commit date
classes 12 years ago lib 12 years ago styles 12 years ago init.php 12 years ago license.txt 12 years ago loader.php 12 years ago
init.php
73 lines
1 <?php
2 /**
3 * Framework Initialization.
4 * This file is called at framework load time.
5 *
6 * @version $Rev: 199485 $
7 * @author Jordi Canals
8 * @copyright Copyright (C) 2008, 2009, 2010 Jordi Canals
9 * @license GNU General Public License version 2
10 * @link http://alkivia.org
11 * @package Alkivia
12 * @subpackage Framework
13 *
14
15 Copyright 2008, 2009, 2010 Jordi Canals <devel@jcanals.cat>
16
17 This program is free software; you can redistribute it and/or
18 modify it under the terms of the GNU General Public License
19 version 2 as published by the Free Software Foundation.
20
21 This program is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU General Public License for more details.
25
26 You should have received a copy of the GNU General Public License
27 along with this program. If not, see <http://www.gnu.org/licenses/>.
28 */
29
30 /**
31 * Creates and returns the framework URL.
32 *
33 * @return string Framework URL
34 */
35 function ak_styles_url ()
36 {
37 $dir = str_replace('\\', '/', WP_CONTENT_DIR);
38 $fmw = str_replace('\\', '/', AKK_FRAMEWORK);
39
40 return str_replace($dir, content_url(), $fmw) . '/styles';
41 }
42
43 // ================================================= SET GLOBAL CONSTANTS =====
44
45 if ( ! defined('AK_STYLES_URL') ) {
46 /** Define the framework URL */
47 define ( 'AK_STYLES_URL', ak_styles_url() );
48 }
49
50 if ( ! defined('AK_INI_FILE') ) {
51 /** Define the alkivia.ini filename and absoilute location */
52 define ( 'AK_INI_FILE', WP_CONTENT_DIR . '/alkivia.ini');
53 }
54
55 if ( ! defined('AK_CLASSES') ) {
56 /** Define the classes folder */
57 define ( 'AK_CLASSES', AKK_FRAMEWORK . '/classes');
58 }
59 if ( ! defined('AK_LIB') ) {
60 /** Library folder for functions files */
61 define ( 'AK_LIB', AKK_FRAMEWORK . '/lib');
62 }
63
64 // ============================================== SET GLOBAL ACTION HOOKS =====
65
66
67 // ================================================ INCLUDE ALL LIBRARIES =====
68
69 require_once ( AK_LIB . '/formating.php' );
70
71 require_once ( AK_LIB . '/themes-agapetry.php' );
72 require_once ( AK_LIB . '/users.php' );
73