Как переименовать конфигурационный файл config.php
Данная инструкция позволит Вам переименовать конфигурационный файл config.php и дать ему произвольное имя. Это может повысить безпасность форума, злоумышленник не будет знать имя файла конфига и в случае если отвалится апач на сервере - то не сможет узнать данных для подключения к базе.
Итак, начнемс.
1. Переименовываем файл 
config.php в что нить типа 
bormotuhinet.php.
2. Открываем файл includes/
class_core.php и находим в нем строчки:
	PHP код:
 
	
		
			
     include(CWD . '/includes/config.php'); 
        if (sizeof($config) == 0) 
        { 
            if (file_exists(CWD. '/includes/config.php')) 
            { 
                // config.php exists, but does not define $config 
                die('<br /><br /><strong>Configuration</strong>: includes/config.php exists, but is not in the 3.6+ format. Please convert your config file via the new config.php.new.'); 
            } 
            else 
            { 
                die('<br /><br /><strong>Configuration</strong>: includes/config.php does not exist. Please fill out the data in config.php.new and rename it to config.php'); 
            } 
        } 
		
	
 Заменяем их на:
	PHP код:
 
	
		
			
     include(CWD . '/includes/bormotuhinet.php'); 
        if (sizeof($config) == 0) 
        { 
            if (file_exists(CWD. '/includes/bormotuhinet.php')) 
            { 
                // config.php exists, but does not define $config 
                die('<br /><br /><strong>Configuration</strong>: includes/config.php exists, but is not in the 3.6+ format. Please convert your config file via the new config.php.new.'); 
            } 
            else 
            { 
                die('<br /><br /><strong>Configuration</strong>: includes/config.php does not exist. Please fill out the data in config.php.new and rename it to config.php'); 
            } 
        } 
		
	
 Особое внимание стоит уделить на то что файл админки можно не только переименовать, но и изменить его реальное местоположение. Например положить его в папку с админкой, тогда адрес будет выглядеть так:
/admincp/bormotuhinet.php
и в целом получится вот так:
	PHP код:
 
	
		
			
     include(CWD . '/admincp/bormotuhinet.php'); 
        if (sizeof($config) == 0) 
        { 
            if (file_exists(CWD. '/admincp/bormotuhinet.php')) 
            { 
                // config.php exists, but does not define $config 
                die('<br /><br /><strong>Configuration</strong>: includes/config.php exists, but is not in the 3.6+ format. Please convert your config file via the new config.php.new.'); 
            } 
            else 
            { 
                die('<br /><br /><strong>Configuration</strong>: includes/config.php does not exist. Please fill out the data in config.php.new and rename it to config.php'); 
            } 
        } 
		
	
 Ну я думаю что суть понятна.