Add initial Plenario live polling app
CakePHP 5.4 app for live polls: create via email without login, manage via secret admin link, join via code. Includes slide types (choice, wordcloud, open, scale, content), presenter mode, CSV export, captcha, throttling, tests and Gitea CI/deploy workflow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
eb319f8c1e
120 files changed
+15572
No files matched your search
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/**
|
||||
* @var \App\View\AppView $this
|
||||
* @var \Cake\Database\StatementInterface $error
|
||||
* @var string $message
|
||||
* @var string $url
|
||||
*/
|
||||
use Cake\Core\Configure;
|
||||
use Cake\Error\Debugger;
|
||||
|
||||
$this->setLayout('error');
|
||||
|
||||
if (Configure::read('debug')) :
|
||||
$this->setLayout('dev_error');
|
||||
|
||||
$this->assign('title', $message);
|
||||
$this->assign('templateName', 'error500.php');
|
||||
|
||||
$this->start('file');
|
||||
if (!empty($error->queryString)) : ?>
|
||||
<p class="notice"><strong>SQL Query: </strong><?= h($error->queryString) ?></p>
|
||||
<?php endif;
|
||||
if (!empty($error->params)) : ?>
|
||||
<strong>SQL Query Params: </strong>
|
||||
<?php Debugger::dump($error->params) ?>
|
||||
<?php endif;
|
||||
if ($error instanceof Error) :
|
||||
$file = $error->getFile();
|
||||
$line = $error->getLine(); ?>
|
||||
<strong>Error in: </strong>
|
||||
<?= $this->Html->link(sprintf('%s, line %s', Debugger::trimPath($file), $line), Debugger::editorUrl($file, $line)); ?>
|
||||
<?php endif;
|
||||
echo $this->element('auto_table_warning');
|
||||
$this->end();
|
||||
endif;
|
||||
$this->assign('title', __('Fehler'));
|
||||
?>
|
||||
<h1><?= __('Da ist etwas schiefgelaufen') ?></h1>
|
||||
<p class="lead"><?= __('Bitte versuche es in einem Moment noch einmal.') ?></p>
|
||||
Reference in new issue
Block a user