A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Re: Re: db - Stikked
From awilson, 10 Years ago, written in PHP.
This paste is a reply to Re: db from awilson - go back
Embed
Viewing differences between Re: db and Re: Re: db
<?php if (class_exists('agora_auth_container')) :
        global $post;
        $auth_container = new agora_auth_container($post->ID);
        $auth_container = apply_filters('agora_middleware_check_permission', $auth_container);
        if ($auth_container->is_allowed() ) : ?>

                add_action( 'body_class', 'dashboard_body_class' );

                // Remove actions
                remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
                remove_action( 'genesis_entry_footer', 'genesis_post_meta' );

                // Add some
                add_action( 'genesis_entry_content', 'mm_get_dashboard_tabs' );
                add_action( 'genesis_entry_content', 'mm_get_dashboard_private_briefings_posts' );
                add_action( 'genesis_entry_content', 'mm_get_promised_reports' );
                add_action( 'genesis_entry_content', 'mm_get_dashboard_recommendations' );
                add_action( 'genesis_entry_content', 'mm_get_dashboard_faq' );

                genesis();                
        <?php endif; ?>
<?php endif; ?>