<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TNF : Tatter Network Foundation forum - 절대경로 알아오기]]></title>
		<link>http://forum.tattersite.com/ko/viewtopic.php?id=460</link>
		<description><![CDATA[절대경로 알아오기 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Mon, 29 May 2006 08:18:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: 절대경로 알아오기]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=2996#p2996</link>
			<description><![CDATA[<p>간혹 사용하는 홈페이지 서비스에 따라 절대경로가 다를수도 있습니다.<br />천리안의 경우 juno님께서 말씀하신대로 적용하여 가져온 절대값과 천리안 홈페이지 관리페이지에서<br />확인하는 절대경로값이 틀립니다. Peris님 말씀처럼 서버설정에 따라 다를수도 있습니다.</p>]]></description>
			<author><![CDATA[null@example.com (jparker)]]></author>
			<pubDate>Mon, 29 May 2006 08:18:45 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=2996#p2996</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 절대경로 알아오기]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=2523#p2523</link>
			<description><![CDATA[<p>음...이게 먹힐런진 잘 모르겠습니다만ㆀ</p><p>태터의 스크립트 내에는 해당 스크립트의 위치를 기준으로 최상위 경로를 가리키는 ROOT 가 define 되어 있습니다.<br />예를 들어, blog/owner/entry/add/index.php 에서는 ROOT 가 ../../../.. 으로 설정되어 있지요.<br />이것이 태터 내에서 $_SERVER[&#039;DOCUMENT_ROOT&#039;] 를 대신하고 있다고 보면 되겠습니다.<br />특별한 경우가 아니라면 이런식으로 ROOT 를 이용한 상대경로를 사용하는 것으로 대체할 수 있지 않을까요.</p>]]></description>
			<author><![CDATA[null@example.com (laziel)]]></author>
			<pubDate>Wed, 24 May 2006 12:44:36 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=2523#p2523</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 절대경로 알아오기]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=2522#p2522</link>
			<description><![CDATA[<p>태터 소스에 저렇게 사용한 부분이 있나요?<br />제가 알기로는 없는걸로 알고 있는데요.;;</p>]]></description>
			<author><![CDATA[null@example.com (Peris)]]></author>
			<pubDate>Wed, 24 May 2006 11:41:16 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=2522#p2522</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 절대경로 알아오기]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=2519#p2519</link>
			<description><![CDATA[<div class="quotebox"><cite>Peris 작성:</cite><blockquote><div class="quotebox"><cite>서툰걸음 작성:</cite><blockquote><p>저도 필요했는데..<br />테스소스를 뒤지다가<br />$_SERVER[&#039;DOCUMENT_ROOT&#039;].$pluginURL<br />이렇게 쓴다는.. ^^</p></blockquote></div><p>$_SERVER[&#039;DOCUMENT_ROOT&#039;] 는 서버설정에 따라 정확한 root를 가리키지 않을 수도 있습니다. <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>그래서 가끔 안 되신다고 하시는 분들이 계심.. ㅠㅠ<br />그럴때는 직접 패스 지정하라고 한다는..</p><p>근데.. 그게 안되면 태터는 어떤가요..<br />태터 소스 보다가 절대패스를 저런식으로 가져오길래 쓴거거든요.. ^^</p>]]></description>
			<author><![CDATA[null@example.com (서툰걸음)]]></author>
			<pubDate>Wed, 24 May 2006 10:45:33 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=2519#p2519</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 절대경로 알아오기]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=2502#p2502</link>
			<description><![CDATA[<div class="quotebox"><cite>서툰걸음 작성:</cite><blockquote><p>저도 필요했는데..<br />테스소스를 뒤지다가<br />$_SERVER[&#039;DOCUMENT_ROOT&#039;].$pluginURL<br />이렇게 쓴다는.. ^^</p></blockquote></div><p>$_SERVER[&#039;DOCUMENT_ROOT&#039;] 는 서버설정에 따라 정확한 root를 가리키지 않을 수도 있습니다. <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Peris)]]></author>
			<pubDate>Wed, 24 May 2006 04:52:12 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=2502#p2502</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 절대경로 알아오기]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=2495#p2495</link>
			<description><![CDATA[<p>저도 필요했는데..<br />테스소스를 뒤지다가<br />$_SERVER[&#039;DOCUMENT_ROOT&#039;].$pluginURL<br />이렇게 쓴다는.. ^^</p>]]></description>
			<author><![CDATA[null@example.com (서툰걸음)]]></author>
			<pubDate>Wed, 24 May 2006 04:20:06 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=2495#p2495</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 절대경로 알아오기]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=2427#p2427</link>
			<description><![CDATA[<p>테터툴즈 자체에서 절대경로를 변수로 지원해 주면 좋을 듯 합니다.</p>]]></description>
			<author><![CDATA[null@example.com (Juno)]]></author>
			<pubDate>Tue, 23 May 2006 02:38:46 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=2427#p2427</guid>
		</item>
		<item>
			<title><![CDATA[절대경로 알아오기]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=2424#p2424</link>
			<description><![CDATA[<p>//절대 경로가 공백일 경우 자동으로 체크하기<br />&nbsp; &nbsp; if($home_path == &quot;&quot;){&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; //현재 플러그인의 절대 경로 알아 오기<br />&nbsp; &nbsp; &nbsp; &nbsp; $thisfilename=basename(__FILE__); <br />&nbsp; &nbsp; &nbsp; &nbsp; $temp_filename=realpath(__FILE__); <br />&nbsp; &nbsp; &nbsp; &nbsp; if(!$temp_filename) $temp_filename=__FILE__; <br />&nbsp; &nbsp; &nbsp; &nbsp; $osdir=eregi_replace($thisfilename,&quot;&quot;,$temp_filename); <br />&nbsp; &nbsp; &nbsp; &nbsp; //최상위 경로 알아 오기<br />&nbsp; &nbsp; &nbsp; &nbsp; $home_path= substr($osdir,0,strlen($osdir)-strlen($pluginURL)-1);<br />&nbsp; &nbsp; }</p><p>플러그인중에 절대 경로를 필요로 하는 경우가 있는데..<br />전 이제 부터 위의 소스를 이용하여서 절대경로를 입력하지 않아도 되도록 할려구요.<br />설치중에 절대 경로 때문에 실패하는 경우가 많더라구요.<br />참고로 위에는..<br />/home/lovebe/public_html<br />의 결과값을<br />$home_path<br />에 넣어준답니다.<br />스킨이나 플러그인 주소까지 표시하고 싶으시면..<br />관련 변수를 뒤에 이어 주면 될 듯 합니다.</p>]]></description>
			<author><![CDATA[null@example.com (Juno)]]></author>
			<pubDate>Tue, 23 May 2006 01:19:08 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=2424#p2424</guid>
		</item>
	</channel>
</rss>
