Changeset 1460617
- Timestamp:
- 07/26/2016 07:09:06 AM (10 years ago)
- File:
-
- 1 edited
-
selectyco/trunk/selectyco.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
selectyco/trunk/selectyco.php
r1460261 r1460617 18 18 define("SELECTYCO_HOST", "https://api.selectyco.com"); 19 19 20 require('FirePHPCore/fb.php');21 ob_start();20 // require('FirePHPCore/fb.php'); 21 // ob_start(); 22 22 23 23 if(!class_exists('syc_class')) { … … 331 331 332 332 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); 335 335 336 336 //posts over-view 337 337 if(is_front_page() && is_home()) { 338 fb('is_front_page && is_home');338 // fb('is_front_page && is_home'); 339 339 return $this->generate_button(); 340 340 } 341 341 //single post-view 342 342 elseif(is_single()) { 343 fb($sycContent);343 // fb($sycContent); 344 344 345 345 //purchasing process … … 358 358 } 359 359 elseif(is_page()) { 360 fb($sycContent);360 // fb($sycContent); 361 361 return $sycContent; 362 362 }
Note: See TracChangeset
for help on using the changeset viewer.