Answer the question
In order to leave comments, you need to log in
Can't solve config problem?
<?php
$config = new Phalcon\Config(array(
/**
* Настройки подключения к базе данных
*/
'database' => array(
'host' => 'localhost',
'username' => 'root',
'password' => '',
'dbname' => 'allcash'
),
/**
* Настройка путей для Phalcon
*/
'phalcon' => array(
'controllersDir' => '../app/controllers/',
'modelsDir' => '../app/models/',
'helpersDir' => '../app/helpers/'
),
/**
* Настройки сайта
*/
'settings' => array(
'profit' => 22000,
'email' => '[email protected]',
'min_withdraw' => 100,
'max_withdraw' => 10000
));
Parse error: syntax error, unexpected ';' in W:\domains\allcash\app\config\config.php on line 36
Answer the question
In order to leave comments, you need to log in
The brackets at the end are missing. Use an adequate code editor and it will highlight such things, otherwise the development will turn into a search for brackets and commas.
You are engaged in programming, everything that a machine can do, a machine should do. Installing the editor takes less time than creating a post on a toaster.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question