Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions opcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

define('THOUSAND_SEPARATOR',true);

/** @source https://raw.githubusercontent.com/rlerdorf/opcache-status/master/opcache.php */

if (!extension_loaded('Zend OPcache')) {
echo '<div style="background-color: #F2DEDE; color: #B94A48; padding: 1em;">You do not have the Zend OPcache extension loaded, sample data is being shown instead.</div>';
require 'data-sample.php';
Expand Down