Closed atnaples closed 3 years ago
which editing mode you're using ?
Sorry, code PHP
On Mon, Jun 7, 2021, 10:46 AM Andi Dittrich @.***> wrote:
which editing mode you're using ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EnlighterJS/Plugin.WordPress/issues/332#issuecomment-855999651, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMV2NS7QMNIWFO27MNTFZDTRTLS5ANCNFSM46HN2ZFQ .
which wordpress editing mode you're using ?
pre
tagspre
tags
.... what I get
$query = $db->query("SELECT value FROM
" . DB_PREFIX . "setting
WHEREkey
= 'config_timezone'"); if ($query->num_rows) { date_default_timezone_set($query->row['value']); }