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 [

    // Setup form fields
    'setup' => [
        'email'            => '',
        'username'         => '',
        'password'         => '',
        'site_name'        => ' ',
        'site_domain'      => ' ',
        'site_timezone'    => ' ',
        'site_locale'      => ' ',
        'enable_google2fa' => ' 2  ',
        'cache_driver'     => ' ',
        'session_driver'   => ' ',
    ],

    // Login form fields
    'login' => [
        'login'         => 'Username or Email',
        'email'         => '',
        'password'      => '',
        '2fauth'        => ' ',
        'invalid'       => 'Invalid username or password',
        'invalid-token' => ' n',
        'cookies'       => '     .',
        'rate-limit'    => 'Rate limit exceeded.',
    ],

    // Incidents form fields
    'incidents' => [
        'name'               => '',
        'status'             => '',
        'component'          => '',
        'message'            => '',
        'message-help'       => 'Markdown   .',
        'scheduled_at'       => '  ?',
        'incident_time'      => '    ??',
        'notify_subscribers' => ' ',
        'visibility'         => 'Incident Visibility',
        'public'             => ' ',
        'logged_in_only'     => '    ',
        'templates'          => [
            'name'     => '',
            'template' => '',
            'twig'     => 'Incident Templates can make use of the <a href="https://twig.symfony.com" target="_blank">Twig</a> templating language.',
        ],
    ],

    // Components form fields
    'components' => [
        'name'        => '',
        'status'      => '',
        'group'       => '',
        'description' => '',
        'link'        => '',
        'tags'        => '',
        'tags-help'   => ' .',
        'enabled'     => 'Component enabled?',

        'groups' => [
            'name'               => '',
            'collapsing'         => 'Choose visibility of the group',
            'visible'            => 'Always expanded',
            'collapsed'          => 'Collapse the group by default',
            'collapsed_incident' => 'Collapse the group, but expand if there are issues',
        ],
    ],

    // Metric form fields
    'metrics' => [
        'name'             => '',
        'suffix'           => '',
        'description'      => '',
        'description-help' => 'Markdown   .',
        'display-chart'    => '   ',
        'default-value'    => '',
        'calc_type'        => ' ',
        'type_sum'         => '',
        'type_avg'         => '',
        'places'           => 'Decimal places',
        'default_view'     => 'Default view',
        'threshold'        => 'How many minutes of threshold between metric points?',

        'points' => [
            'value' => '',
        ],
    ],

    // Settings
    'settings' => [
        /// Application setup
        'app-setup' => [
            'site-name'              => ' ',
            'site-url'               => ' URL',
            'display-graphs'         => '   ',
            'about-this-page'        => '  ',
            'days-of-incidents'      => '    ?',
            'banner'                 => 'Banner Image',
            'banner-help'            => ' 930       .',
            'subscribers'            => '     ',
            'automatic_localization' => 'Automatically localise your status page to your visitor\'s language?',
        ],
        'analytics' => [
            'analytics_google'       => 'Google Analytics ',
            'analytics_gosquared'    => 'GoSquared Analytics ',
            'analytics_piwik_url'    => 'Piwik  URL ( "http(s)://"  )',
            'analytics_piwik_siteid' => 'Piwik  id',
        ],
        'localization' => [
            'site-timezone'        => ' ',
            'site-locale'          => ' ',
            'date-format'          => ' ',
            'incident-date-format' => ' Timestamp ',
        ],
        'security' => [
            'allowed-domains'      => ' ',
            'allowed-domains-help' => ' .       .',
        ],
        'stylesheet' => [
            'custom-css' => 'Custom Stylesheet',
        ],
        'theme' => [
            'background-color'        => 'Background Color',
            'background-fills'        => 'Background fills (components, incidents, footer)',
            'banner-background-color' => 'Banner Background Color',
            'banner-padding'          => 'Banner Padding',
            'fullwidth-banner'        => 'Enable fullwidth banner?',
            'text-color'              => 'Text Color',
            'dashboard-login'         => 'Show dashboard button in the footer?',
            'reds'                    => ' ( )',
            'blues'                   => ' ( )',
            'greens'                  => ' ( )',
            'yellows'                 => ' ( )',
            'oranges'                 => ' ( )',
            'metrics'                 => 'Metrics fill',
            'links'                   => '',
        ],
    ],

    'user' => [
        'username'       => '',
        'email'          => '',
        'password'       => '',
        'api-token'      => 'API ',
        'api-token-help' => '  Cachet    , API token  .',
        'gravatar'       => 'Change your profile picture at Gravatar.',
        'user_level'     => ' ',
        'levels'         => [
            'admin' => '',
            'user'  => '',
        ],
        '2fa' => [
            'help' => '2     . <a href="https://support.google.com/accounts/answer/1066447?hl=en">Google Authenticator</a>        .   ,     .',
        ],
        'team' => [
            'description' => 'Invite your team members by entering their email addresses here.',
            'email'       => 'Email #:id',
        ],
    ],

    // Buttons
    'add'    => '',
    'save'   => '',
    'update' => '',
    'create' => '',
    'edit'   => '',
    'delete' => '',
    'submit' => '',
    'cancel' => '',
    'remove' => '',
    'invite' => '',
    'signup' => '',

    // Other
    'optional' => '* ',
];
 ?>

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 [

    // Setup form fields
    'setup' => [
        'email'            => '',
        'username'         => '',
        'password'         => '',
        'site_name'        => ' ',
        'site_domain'      => ' ',
        'site_timezone'    => ' ',
        'site_locale'      => ' ',
        'enable_google2fa' => ' 2  ',
        'cache_driver'     => ' ',
        'session_driver'   => ' ',
    ],

    // Login form fields
    'login' => [
        'login'         => 'Username or Email',
        'email'         => '',
        'password'      => '',
        '2fauth'        => ' ',
        'invalid'       => 'Invalid username or password',
        'invalid-token' => ' n',
        'cookies'       => '     .',
        'rate-limit'    => 'Rate limit exceeded.',
    ],

    // Incidents form fields
    'incidents' => [
        'name'               => '',
        'status'             => '',
        'component'          => '',
        'message'            => '',
        'message-help'       => 'Markdown   .',
        'scheduled_at'       => '  ?',
        'incident_time'      => '    ??',
        'notify_subscribers' => ' ',
        'visibility'         => 'Incident Visibility',
        'public'             => ' ',
        'logged_in_only'     => '    ',
        'templates'          => [
            'name'     => '',
            'template' => '',
            'twig'     => 'Incident Templates can make use of the <a href="https://twig.symfony.com" target="_blank">Twig</a> templating language.',
        ],
    ],

    // Components form fields
    'components' => [
        'name'        => '',
        'status'      => '',
        'group'       => '',
        'description' => '',
        'link'        => '',
        'tags'        => '',
        'tags-help'   => ' .',
        'enabled'     => 'Component enabled?',

        'groups' => [
            'name'               => '',
            'collapsing'         => 'Choose visibility of the group',
            'visible'            => 'Always expanded',
            'collapsed'          => 'Collapse the group by default',
            'collapsed_incident' => 'Collapse the group, but expand if there are issues',
        ],
    ],

    // Metric form fields
    'metrics' => [
        'name'             => '',
        'suffix'           => '',
        'description'      => '',
        'description-help' => 'Markdown   .',
        'display-chart'    => '   ',
        'default-value'    => '',
        'calc_type'        => ' ',
        'type_sum'         => '',
        'type_avg'         => '',
        'places'           => 'Decimal places',
        'default_view'     => 'Default view',
        'threshold'        => 'How many minutes of threshold between metric points?',

        'points' => [
            'value' => '',
        ],
    ],

    // Settings
    'settings' => [
        /// Application setup
        'app-setup' => [
            'site-name'              => ' ',
            'site-url'               => ' URL',
            'display-graphs'         => '   ',
            'about-this-page'        => '  ',
            'days-of-incidents'      => '    ?',
            'banner'                 => 'Banner Image',
            'banner-help'            => ' 930       .',
            'subscribers'            => '     ',
            'automatic_localization' => 'Automatically localise your status page to your visitor\'s language?',
        ],
        'analytics' => [
            'analytics_google'       => 'Google Analytics ',
            'analytics_gosquared'    => 'GoSquared Analytics ',
            'analytics_piwik_url'    => 'Piwik  URL ( "http(s)://"  )',
            'analytics_piwik_siteid' => 'Piwik  id',
        ],
        'localization' => [
            'site-timezone'        => ' ',
            'site-locale'          => ' ',
            'date-format'          => ' ',
            'incident-date-format' => ' Timestamp ',
        ],
        'security' => [
            'allowed-domains'      => ' ',
            'allowed-domains-help' => ' .       .',
        ],
        'stylesheet' => [
            'custom-css' => 'Custom Stylesheet',
        ],
        'theme' => [
            'background-color'        => 'Background Color',
            'background-fills'        => 'Background fills (components, incidents, footer)',
            'banner-background-color' => 'Banner Background Color',
            'banner-padding'          => 'Banner Padding',
            'fullwidth-banner'        => 'Enable fullwidth banner?',
            'text-color'              => 'Text Color',
            'dashboard-login'         => 'Show dashboard button in the footer?',
            'reds'                    => ' ( )',
            'blues'                   => ' ( )',
            'greens'                  => ' ( )',
            'yellows'                 => ' ( )',
            'oranges'                 => ' ( )',
            'metrics'                 => 'Metrics fill',
            'links'                   => '',
        ],
    ],

    'user' => [
        'username'       => '',
        'email'          => '',
        'password'       => '',
        'api-token'      => 'API ',
        'api-token-help' => '  Cachet    , API token  .',
        'gravatar'       => 'Change your profile picture at Gravatar.',
        'user_level'     => ' ',
        'levels'         => [
            'admin' => '',
            'user'  => '',
        ],
        '2fa' => [
            'help' => '2     . <a href="https://support.google.com/accounts/answer/1066447?hl=en">Google Authenticator</a>        .   ,     .',
        ],
        'team' => [
            'description' => 'Invite your team members by entering their email addresses here.',
            'email'       => 'Email #:id',
        ],
    ],

    // Buttons
    'add'    => '',
    'save'   => '',
    'update' => '',
    'create' => '',
    'edit'   => '',
    'delete' => '',
    'submit' => '',
    'cancel' => '',
    'remove' => '',
    'invite' => '',
    'signup' => '',

    // Other
    'optional' => '* ',
];

Function Calls

None

Variables

None

Stats

MD5 3fe814ea0944194f1867102bd51be02b
Eval Count 0
Decode Time 83 ms