Skip to content
Snippets Groups Projects
Commit 9c24a943 authored by Demian Katz's avatar Demian Katz
Browse files

Merge remote-tracking branch 'origin/release-4.1'

parents 521c0282 c6b60516
No related merge requests found
<? <?
// A driver-specific template may pass in format overrides; check for these before going to the driver itself: // A driver-specific template may pass in format overrides; check for these before going to the driver itself:
$formats = isset($this->overrideFormats) ? $this->overrideFormats : $this->driver->tryMethod('getFormats'); $formats = isset($this->overrideFormats) ? $this->overrideFormats : $this->driver->tryMethod('getFormats');
if (is_array($formats)) { if (is_array($formats) && !empty($formats)) {
foreach ($formats as $format) { foreach ($formats as $format) {
echo "RT $format\n"; echo "RT $format\n";
} }
} else {
echo "RT Generic\n";
} }
$title = rtrim($this->driver->getTitle(), " /"); $title = rtrim($this->driver->getTitle(), " /");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment