updated site URL
This commit is contained in:
@@ -169,12 +169,23 @@ class BlogData extends BaseController
|
|||||||
|
|
||||||
|
|
||||||
//var_dump($out);
|
//var_dump($out);
|
||||||
|
|
||||||
$out['blogconfig'] = [
|
$out['blogconfig'] = [
|
||||||
"media_url" => "https://blog.wrenchboard.com/wp-content/uploads",
|
"media_url" => "https://blog.wrenchboard.com/wp-content/uploads",
|
||||||
"site_url" => "https://blog.wrenchboard.com",
|
"site_url" => "https://blog.wrenchboard.com",
|
||||||
"other_cofig2" => "NONE",
|
"other_cofig2" => "NONE",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
switch( $blogName ){
|
||||||
|
case 'oluameye':
|
||||||
|
$out['blogconfig'] = [
|
||||||
|
"media_url" => "https://blog.oluameye.com//wp-content/uploads",
|
||||||
|
"site_url" => "https://blog.oluameye.com/",
|
||||||
|
"other_cofig2" => "NONE",
|
||||||
|
];
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
return $this->response->setJson($out);
|
return $this->response->setJson($out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user