Fixes exception ref

This commit is contained in:
Samuel Georges 2015-10-03 07:29:08 +10:00
parent 51446f6a27
commit 8ed6a3cc51
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
<?php namespace Cms\Classes;
use ApplicationException;
/**
* Helper class for processing video and audio tags inserted by the Media Manager.
*
@ -80,7 +82,7 @@ class MediaViewHelper
$controller = Controller::getController();
if (!$controller) {
throw new Phpr_ApplicationException('Media tags can only be processed for front-end requests.');
throw new ApplicationException('Media tags can only be processed for front-end requests.');
}
$partial = Partial::loadCached($controller->getTheme(), $name);