Wp for the site

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-08 18:10:30 -04:00
parent 65331780f6
commit 21e9a6a806
3 changed files with 558 additions and 8 deletions
+8 -8
View File
@@ -90,12 +90,12 @@ class Database extends Config
'port' => 5432,
];
public $mermsemr_blog = [
public $float_blog = [
'DSN' => '',
'hostname' => '10.10.33.60',
'username' => 'mermsemr',
'password' => 'may12002',
'database' => 'blog_mermsemr_com',
'username' => 'float',
'password' => 'float.user',
'database' => 'float_blog',
'DBDriver' => 'MySQLi',
'DBPrefix' => '',
'pConnect' => false,
@@ -110,12 +110,12 @@ class Database extends Config
'port' => 3306,
];
public $mermsemr_site = [
public $float_site = [
'DSN' => '',
'hostname' => '10.10.33.60',
'username' => 'mermsemr',
'password' => 'may12002',
'database' => 'site_mermsemr_com',
'username' => 'float',
'password' => 'float.user',
'database' => 'float_blog',
'DBDriver' => 'MySQLi',
'DBPrefix' => '',
'pConnect' => false,
+8
View File
@@ -29,12 +29,20 @@ $routes->setAutoRoute(true);
* --------------------------------------------------------------------
*/
// We get a performance increase by specifying the default
// route since we don't have to scan directories.
$routes->get('/', 'Home::index');
$routes->get('/wp/', 'Dengine::index');
$routes->get('/merms/wp/', 'Merms::index');
$routes->get('/en/floatweb/api/v1/wp/', 'FloatWeb::index');
$routes->get('/merms/wp/', 'Merms::index');
//CHIEFSOFT WEBSITE
$routes->get('/chiefsoft/site/blogdata', 'Chiefsoft::blogdata'); // when no limit is sent
$routes->post('/chiefsoft/site/contact', 'Chiefsoft::contact');