Skip to content

Commit

Permalink
Clarify APC direct loading deprecation message.
Browse files Browse the repository at this point in the history
Closes #1288
  • Loading branch information
alexanderhaensch authored and mariuswilms committed Jun 30, 2016
1 parent 549b0aa commit 65b00b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions storage/cache/adapter/Apc.php
Expand Up @@ -12,8 +12,9 @@
$message = 'The file (`' . __FILE__ . '`) has probably been included directly within ';
$message .= 'the bootstrap process. Due to its dependencies it should be (auto-)loaded ';
$message .= 'i.e. through the `Libraries` class exclusively. Please update your app\'s ';
$message .= 'bootstrap to the most recent version or remove the line where this file was ';
$message .= 'originally included.';
$message .= 'bootstrap directory to the most recent version or remove the line where ';
$message .= 'this file was originally included. ';
$message .= 'See https://git.io/voxgh for the most recent version.';
trigger_error($message, E_USER_DEPRECATED);

require_once LITHIUM_LIBRARY_PATH . '/lithium/storage/cache/Adapter.php';
Expand Down

0 comments on commit 65b00b0

Please sign in to comment.