[Solved] Parse error: syntax error unexpected T_CONSTANT_ENCAPSED_STRING [closed]


This is mostly syntax errors. If you want to declare an array, you either use array() or the shorthand []:

$Config['URL'] = array(
    'Default' => array(
        'Require.www' => false, // www.example.com
        'SSL.enabled' => true, // https://
        'Server' => '***', // public server
        'Lang' => 'en_US' // GLOBAL.
    )   
    ,   
    'Other' => ''
        //'example.com' => ['Require.www' => false, 'SSL.enabled' => false, 'Lang' => 'es_ES', 'MySQL' => ['host' => '127.0.0.1','user' => 'root','pass' => '','dbname' => 'cmsdb']]
    ,
    'devPrivateServer' => 'localhost' // private developer server
);

$Config['MySQL'] = array(
    'host' => '127.0.0.1',
    'user' => '***',
    'pass' => '***',
    'dbname' => 'do'
);

5

solved Parse error: syntax error unexpected T_CONSTANT_ENCAPSED_STRING [closed]