Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* * This file is part of Cachet. * * (c) Alt Three Services Limited * * For t..

Decoded Output download

<?php

/*
 * This file is part of Cachet.
 *
 * (c) Alt Three Services Limited
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

return [

    /*
    |--------------------------------------------------------------------------
    | Cachet Timezone
    |--------------------------------------------------------------------------
    |
    | The timezone Cachet uses for converting timezones on saving.
    |
    */

    'timezone' => 'UTC',

    /*
    |--------------------------------------------------------------------------
    | Docker
    |--------------------------------------------------------------------------
    |
    | Is the installation running under a Docker container?
    |
    */

    'is_docker' => env('DOCKER', false),

    /*
    |--------------------------------------------------------------------------
    | Beacon
    |--------------------------------------------------------------------------
    |
    | Has the installation agreed to sending us Beacon data?
    |
    | Default: true
    |
    */

    'beacon' => env('CACHET_BEACON', true),

    /*
    |--------------------------------------------------------------------------
    | Templates configurations
    |--------------------------------------------------------------------------
    |
    | Security fix: now user can provide information which will be included to the Twig sandbox settings
    |
    | Default: Described below
    |
    */
    'twig' => [
        'methods'   => [],
        'functions' => [],
        'filters'   => ['escape'],
        'tags'      => ['if'],
        'props'     => [],
    ],
];
 ?>

Did this file decode correctly?

Original Code

<?php

/*
 * This file is part of Cachet.
 *
 * (c) Alt Three Services Limited
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

return [

    /*
    |--------------------------------------------------------------------------
    | Cachet Timezone
    |--------------------------------------------------------------------------
    |
    | The timezone Cachet uses for converting timezones on saving.
    |
    */

    'timezone' => 'UTC',

    /*
    |--------------------------------------------------------------------------
    | Docker
    |--------------------------------------------------------------------------
    |
    | Is the installation running under a Docker container?
    |
    */

    'is_docker' => env('DOCKER', false),

    /*
    |--------------------------------------------------------------------------
    | Beacon
    |--------------------------------------------------------------------------
    |
    | Has the installation agreed to sending us Beacon data?
    |
    | Default: true
    |
    */

    'beacon' => env('CACHET_BEACON', true),

    /*
    |--------------------------------------------------------------------------
    | Templates configurations
    |--------------------------------------------------------------------------
    |
    | Security fix: now user can provide information which will be included to the Twig sandbox settings
    |
    | Default: Described below
    |
    */
    'twig' => [
        'methods'   => [],
        'functions' => [],
        'filters'   => ['escape'],
        'tags'      => ['if'],
        'props'     => [],
    ],
];

Function Calls

None

Variables

None

Stats

MD5 02004807b07a0c1624b533c2f354bb6e
Eval Count 0
Decode Time 106 ms