Plugin Directory

Changeset 1460617


Ignore:
Timestamp:
07/26/2016 07:09:06 AM (10 years ago)
Author:
selectyco
Message:

FirePHP deactivated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • selectyco/trunk/selectyco.php

    r1460261 r1460617  
    1818  define("SELECTYCO_HOST", "https://api.selectyco.com");
    1919
    20     require('FirePHPCore/fb.php');
    21     ob_start();
     20    // require('FirePHPCore/fb.php');
     21    // ob_start();
    2222   
    2323  if(!class_exists('syc_class')) {
     
    331331
    332332            function add_button_to_post($sycContent) {
    333                 $a = array('is_admin' => is_admin(),'is_home' => is_home(), 'is_front_page' => is_front_page(), 'is_single' => is_single(), 'is_page' => is_page());
    334                 fb($a);
     333                // $a = array('is_admin' => is_admin(),'is_home' => is_home(), 'is_front_page' => is_front_page(), 'is_single' => is_single(), 'is_page' => is_page());
     334                // fb($a);
    335335               
    336336                //posts over-view
    337337                if(is_front_page() && is_home()) {
    338                     fb('is_front_page && is_home');
     338                    // fb('is_front_page && is_home');
    339339                    return $this->generate_button();
    340340                }
    341341                //single post-view
    342342                elseif(is_single()) {
    343                     fb($sycContent);
     343                    // fb($sycContent);
    344344                   
    345345                    //purchasing process
     
    358358                }
    359359                elseif(is_page()) {
    360                     fb($sycContent);
     360                    // fb($sycContent);
    361361                    return $sycContent;
    362362                }
Note: See TracChangeset for help on using the changeset viewer.