Codeigniter PHP Uncategorized

Create a Custom config file for Codeigniter

Create a Custom config file for Codeigniter   How to Create a Custom Config File in CodeIgniter By default, CodeIgniter provides a primary configuration file located at: application/config/config.php But what if you want to create a custom configuration file with a custom config array? While CodeIgniter allows developers to create custom files, certain rules must be followed. Specifically, you must…
PHP Wordpress

How to setup multiple site in wordpress

This new feature is being called Network or Multi-site option. In WordPress By default this feature is disabled. If you want to use this option in your WordPress, you need to enable it.To enable this feature, simply open your wp-config.php file located in your WordPress root folder. Then add the following line anywhere in the file: define(‘WP_ALLOW_MULTISITE’, true); Refer to…