In DIAFAN.CMS provides special tools for the developer: development mode (displays all PHP-error) and profiling of queries.
They are described class Dev in the file includes/developer.php.
void init () – Разрешает/запрещает вывод ошибок.
boolean set_profiling () – Активирует профилирование запросов, если это разрешено в параметрах.
Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor #1 include_once() called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:499] #2 Docs_model->prepare_text( In DIAFAN.CMS provides special tools for the developer: development mode (displays all PHP-error) and profiling of queries. They are described class *Dev* in the file *includes/developer.php*. <...) called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:94] #3 Docs_model->show() called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.php:29] #4 Docs->init() called at [/var/www/diafan/data/www/diafancms.com/includes/init.php:474] #5 Init->module() called at [/var/www/diafan/data/www/diafancms.com/includes/init.php:119] #6 Init->start() called at [/var/www/diafan/data/www/diafancms.com/index.php:62] | /var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:499 |