Files
pathfinder/app/main/controller/mapcontroller.php
Mark Friedrich 3bf98ed0f3 - fixed a bug with multi-character select (session mixed up)
- removed "beta" status from /admin login
- changed "tooltip" default color "green" -> "gray"
2017-12-08 20:33:55 +01:00

37 lines
718 B
PHP

<?php
/**
* Created by PhpStorm.
* User: exodus4d
* Date: 08.02.15
* Time: 21:18
*/
namespace Controller;
use lib\Config;
class MapController extends AccessController {
/**
* @param \Base $f3
* @throws \Exception
* @throws \Exception\PathfinderException
*/
public function init(\Base $f3) {
$character = $this->getCharacter();
// characterId
$f3->set('tplCharacterId', $character->id);
// page title
$f3->set('tplPageTitle', $character->name . ' | ' . Config::getPathfinderData('name'));
// main page content
$f3->set('tplPageContent', false);
// JS main file
$f3->set('tplJsView', 'mappage');
}
}