PHP 8.2.32
Preview: Toolbar.php Size: 4.45 KB
/home/ecopackply/www/demo/app/Config/Toolbar.php

<?php

namespace Config;

use CodeIgniter\Config\BaseConfig;
use CodeIgniter\Debug\Toolbar\Collectors\Database;
use CodeIgniter\Debug\Toolbar\Collectors\Events;
use CodeIgniter\Debug\Toolbar\Collectors\Files;
use CodeIgniter\Debug\Toolbar\Collectors\Logs;
use CodeIgniter\Debug\Toolbar\Collectors\Routes;
use CodeIgniter\Debug\Toolbar\Collectors\Timers;
use CodeIgniter\Debug\Toolbar\Collectors\Views;

/**
 * --------------------------------------------------------------------------
 * Debug Toolbar
 * --------------------------------------------------------------------------
 *
 * The Debug Toolbar provides a way to see information about the performance
 * and state of your application during that page display. By default it will
 * NOT be displayed under production environments, and will only display if
 * `CI_DEBUG` is true, since if it's not, there's not much to display anyway.
 */
class Toolbar extends BaseConfig
{
    /**
     * --------------------------------------------------------------------------
     * Toolbar Collectors
     * --------------------------------------------------------------------------
     *
     * List of toolbar collectors that will be called when Debug Toolbar
     * fires up and collects data from.
     *
     * @var list<class-string>
     */
    public array $collectors = [
        Timers::class,
        Database::class,
        Logs::class,
        Views::class,
        // \CodeIgniter\Debug\Toolbar\Collectors\Cache::class,
        Files::class,
        Routes::class,
        Events::class,
    ];

    /**
     * --------------------------------------------------------------------------
     * Collect Var Data
     * --------------------------------------------------------------------------
     *
     * If set to false var data from the views will not be collected. Useful to
     * avoid high memory usage when there are lots of data passed to the view.
     */
    public bool $collectVarData = true;

    /**
     * --------------------------------------------------------------------------
     * Max History
     * --------------------------------------------------------------------------
     *
     * `$maxHistory` sets a limit on the number of past requests that are stored,
     * helping to conserve file space used to store them. You can set it to
     * 0 (zero) to not have any history stored, or -1 for unlimited history.
     */
    public int $maxHistory = 20;

    /**
     * --------------------------------------------------------------------------
     * Toolbar Views Path
     * --------------------------------------------------------------------------
     *
     * The full path to the the views that are used by the toolbar.
     * This MUST have a trailing slash.
     */
    public string $viewsPath = SYSTEMPATH . 'Debug/Toolbar/Views/';

    /**
     * --------------------------------------------------------------------------
     * Max Queries
     * --------------------------------------------------------------------------
     *
     * If the Database Collector is enabled, it will log every query that the
     * the system generates so they can be displayed on the toolbar's timeline
     * and in the query log. This can lead to memory issues in some instances
     * with hundreds of queries.
     *
     * `$maxQueries` defines the maximum amount of queries that will be stored.
     */
    public int $maxQueries = 100;

    /**
     * --------------------------------------------------------------------------
     * Watched Directories
     * --------------------------------------------------------------------------
     *
     * Contains an array of directories that will be watched for changes and
     * used to determine if the hot-reload feature should reload the page or not.
     * We restrict the values to keep performance as high as possible.
     *
     * NOTE: The ROOTPATH will be prepended to all values.
     *
     * @var list<string>
     */
    public array $watchedDirectories = [
        'app',
    ];

    /**
     * --------------------------------------------------------------------------
     * Watched File Extensions
     * --------------------------------------------------------------------------
     *
     * Contains an array of file extensions that will be watched for changes and
     * used to determine if the hot-reload feature should reload the page or not.
     *
     * @var list<string>
     */
    public array $watchedExtensions = [
        'php', 'css', 'js', 'html', 'svg', 'json', 'env',
    ];
}

Directory Contents

Dirs: 1 × Files: 39

Name Size Perms Modified Actions
Boot DIR
- drwxr-xr-x 2026-01-24 07:54:37
Edit Download
7.73 KB lrw-r--r-- 2026-01-24 08:55:48
Edit Download
2.94 KB lrw-r--r-- 2026-01-24 07:53:08
Edit Download
5.79 KB lrw-r--r-- 2026-01-24 07:53:10
Edit Download
3.55 KB lrw-r--r-- 2026-01-24 07:53:10
Edit Download
4.13 KB lrw-r--r-- 2026-01-24 07:53:12
Edit Download
3.46 KB lrw-r--r-- 2026-01-24 07:53:12
Edit Download
3.43 KB lrw-r--r-- 2026-01-24 07:53:14
Edit Download
551 B lrw-r--r-- 2026-01-24 07:53:14
Edit Download
6.24 KB lrw-r--r-- 2026-01-24 08:53:42
Edit Download
2.99 KB lrw-r--r-- 2026-01-24 07:53:16
Edit Download
2.28 KB lrw-r--r-- 2026-01-24 07:53:18
Edit Download
2.78 KB lrw-r--r-- 2026-01-24 07:53:18
Edit Download
1.83 KB lrw-r--r-- 2026-01-24 07:53:20
Edit Download
3.91 KB lrw-r--r-- 2026-01-24 07:53:20
Edit Download
1.00 KB lrw-r--r-- 2026-01-24 07:53:21
Edit Download
3.32 KB lrw-r--r-- 2026-01-24 07:53:21
Edit Download
174 B lrw-r--r-- 2026-01-24 07:53:23
Edit Download
2.15 KB lrw-r--r-- 2026-01-24 07:53:23
Edit Download
2.08 KB lrw-r--r-- 2026-01-24 07:53:25
Edit Download
855 B lrw-r--r-- 2026-01-24 07:53:25
Edit Download
708 B lrw-r--r-- 2026-01-24 07:53:27
Edit Download
1.84 KB lrw-r--r-- 2026-01-24 07:53:27
Edit Download
5.92 KB lrw-r--r-- 2026-01-24 07:53:29
Edit Download
1.55 KB lrw-r--r-- 2026-01-24 07:53:29
Edit Download
15.39 KB lrw-r--r-- 2026-01-24 07:53:31
Edit Download
2.24 KB lrw-r--r-- 2026-01-24 07:53:30
Edit Download
927 B lrw-r--r-- 2026-01-24 07:53:32
Edit Download
1.16 KB lrw-r--r-- 2026-01-24 07:53:33
Edit Download
2.76 KB lrw-r--r-- 2026-01-24 07:53:34
Edit Download
807 B lrw-r--r-- 2026-01-24 07:53:35
Edit Download
1.34 KB lrw-r--r-- 2026-01-27 07:54:39
Edit Download
3.59 KB lrw-r--r-- 2026-01-24 07:53:36
Edit Download
2.79 KB lrw-r--r-- 2026-01-24 07:53:38
Edit Download
921 B lrw-r--r-- 2026-01-24 07:53:38
Edit Download
4.47 KB lrw-r--r-- 2026-01-24 07:53:39
Edit Download
4.45 KB lrw-r--r-- 2026-01-24 07:53:40
Edit Download
9.58 KB lrw-r--r-- 2026-01-24 07:53:41
Edit Download
1.16 KB lrw-r--r-- 2026-01-24 07:53:42
Edit Download
2.06 KB lrw-r--r-- 2026-01-24 07:53:43
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).