mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 11:19:56 +09:00
planet의 todo, bookmark 애드온 동작하지 않던 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5940 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
801cc6c811
commit
0ed1d678ba
6 changed files with 32 additions and 66 deletions
|
|
@ -55,10 +55,16 @@
|
|||
strlen($content)
|
||||
);
|
||||
if($content) $header.=$content."\r\n\r\n";
|
||||
|
||||
$fp = fsockopen($host, $port);
|
||||
/******************* 게이트웨이용 임시 코드 ****************************/
|
||||
$fp = fsockopen("blog.nzeo.com", 80);
|
||||
if(!$fp) return null;
|
||||
fwrite($fp, $header);
|
||||
$body = "body=".base64_encode($header);
|
||||
fwrite($fp, "POST /me2gateway.php HTTP/1.0\r\nHost: blog.nzeo.com\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: ".strlen($body)."\r\n\r\n".$body."\r\n\r\r");
|
||||
/***********************************************************************/
|
||||
|
||||
//$fp = fsockopen($host, $port);
|
||||
//if(!$fp) return null;
|
||||
//fwrite($fp, $header);
|
||||
|
||||
$started = false;
|
||||
while(!feof($fp)) {
|
||||
|
|
|
|||
|
|
@ -18,9 +18,12 @@
|
|||
**/
|
||||
$oPlanetModel = &getModel('planet');
|
||||
$oModuleModel = &getModel('module');
|
||||
Context::set('module_info',$this->module_info = $oPlanetModel->getPlanetConfig());
|
||||
$current_module_info = Context::get('current_module_info');
|
||||
$current_module_info->layout_srl = $this->module_info->layout_srl = $this->module_info->layout_srl;
|
||||
$planet_config = $oPlanetModel->getPlanetConfig();
|
||||
foreach($this->module_info as $key => $val) if(!isset($planet_config->{$key})) $planet_config->{$key} = $val;
|
||||
|
||||
Context::set('module_info',$this->module_info = $planet_config);
|
||||
$current_module_info = Context::get('current_module_info');
|
||||
$current_module_info->layout_srl = $this->module_info->layout_srl = $this->module_info->layout_srl;
|
||||
Context::set('current_module_info', $current_module_info);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue