Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
cron.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * For full copyright and license information, please see
10 * the docs/CREDITS.txt file.
11 *
12 */
13
14 namespace phpbb\cron\controller;
15
16 use Symfony\Component\HttpFoundation\Response;
17
18 /**
19 * Controller for running cron jobs
20 */
21 class cron
22 {
23 /**
24 * Handles CRON requests
25 *
26 * @param string $cron_type
27 *
28 * @return Response
29 */
30 public function handle($cron_type)
31 {
32 $response = new Response();
33 $response->headers->set('Cache-Control', 'no-cache');
34 $response->headers->set('Content-type', 'image/gif');
35 $response->headers->set('Content-length', '43');
36 $response->setContent(base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='));
37
38 return $response;
39 }
40 }
41