(c) 2008-2013 Agile Toolkit Limited Distributed under Affero General Public License v3 and commercial license. See LICENSE or LICENSE_COM for more information =====================================================ATK4=
Наследование: extends App_Web
Пример #1
0
        function reached_ceiling()
        {
            return false;
        }
    }
}
define('APP_PLUGIN_DIR', dirname(__FILE__), true);
define('APP_PLUGIN_FILE', __FILE__, true);
require_once APP_PLUGIN_DIR . '/includes/default_filters.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_install.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_timed_abstractions.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_roles.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_codec.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_shortcodes.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_addon_helper.php';
App_Installer::serve();
App_AddonHandler::serve();
App_Shortcodes::serve();
global $appointments;
$appointments = new Appointments();
if (is_admin()) {
    require_once APP_PLUGIN_DIR . '/includes/support/class_app_tutorial.php';
    App_Tutorial::serve();
    require_once APP_PLUGIN_DIR . '/includes/support/class_app_admin_help.php';
    App_AdminHelp::serve();
    // Setup dashboard notices
    if (file_exists(APP_PLUGIN_DIR . '/includes/wpmudev-dash-notification.php')) {
        global $wpmudev_notices;
        if (!is_array($wpmudev_notices)) {
            $wpmudev_notices = array();
        }
function appointments_activate()
{
    $installer = new App_Installer();
    $installer->install();
}