You are here

drupal-apc.php in X Autoload 7.4

Same filename and directory in other branches
  1. 7.5 tests/scripts/drupal-apc.php

File to test bootstrap with APC.

File

tests/scripts/drupal-apc.php
View source
<?php

/**
 * @file
 *
 * File to test bootstrap with APC.
 */
use Drupal\xautoload\Tests\Filesystem\StreamWrapper;
if (!extension_loaded('apc') || !function_exists('apc_store')) {
  print "APC not available. Aborting.\n";
  return;
}
require_once dirname(__DIR__) . '/bootstrap.php';
$filesystem = StreamWrapper::register('test');