File manager - Edit - /home/verseaumee/blueversion/wp-content/plugins/custom-twitter-feeds/inc/CtfDateTime.php
Back
<?php /** * Class CtfDateTime * * Workaround for PHP 5.2 */ // Don't load directly namespace TwitterFeed; if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } class CtfDateTime extends \DateTime { public function setTimestamp( $timestamp ) { $date = getdate( ( int ) $timestamp ); $this->setDate( $date['year'] , $date['mon'] , $date['mday'] ); $this->setTime( $date['hours'] , $date['minutes'] , $date['seconds'] ); } public function getTimestamp() { return $this->format( 'U' ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings