Skip to content
Jeongkyu Shin edited this page Sep 24, 2012 · 1 revision

루트의 config.php에 집어넣어 동작을 제어할 수 있는 명령들입니다. 여기 명시된 값은 설정이 없을 때의 기본값입니다.

  • $database!['server'] = 'localhost';
  • $database!['database'] = 'noname';
  • $database!['username'] = 'noname';
  • $database!['password'] = 'noname';
  • $database!['prefix'] = 'tt_';
  • $service!['type'] = 'path';
  • $service!['domain'] = 'domain.ext';
  • $service!['path'] = '/path1/path2';
  • $service!['skin'] = 'skin_name';
  • $service!['timeout'] = 3600; // Session timeout limit 세션 타임 아웃 지정. 지정한 시간동안 응답이 없으면 이후 자동으로 로그아웃됩니다.
  • $service!['disableEolinSuggestion'] = false; // Disable auto-suggestion using EOLIN server. 태그 및 지역로그의 자동 완성 기능을 EOLIN으로부터 제안받지 않습니다. //Usually it searches local tag by default. 기본적으로 로컬의 태그/지역로그를 검색한 후, 없을 경우 EOLIN으로부터 자동 완성 정보를 받습니다.

// From 1.1

  • $service!['useEncodedURL'] = false; // URL encoding using RFC1738 내보내는 모든 링크를 RFC1738 규격에 맞게 인코딩합니다.
  • $serviceURL = ''; // Useful if using other web program under the same domain 다른 웹 프로그램을 같은 도메인에서 운영할 때, 동작이 방해받는 경우 지정하면 됩니다.

// From 1.5

  • $service!['useNumericURLonRSS'] = false; // Can force permalink to numeric format on RSS output. RSS를 통해 내보내는 글링크를 숫자로만 사용합니다.
  • $service!['useLegacySupport'] = false; // Uses legacy support (for tattertools plugins) function. 텍스트큐브 1.5 미만의 플러그인 중 데이터베이스를 읽는 플러그인들의 호환성을 위해 사용할 수 있습니다. (권장하지 않습니다)
  • $service!['disablePageCache'] = false; // Disable pagecache function. true로 지정하면 정적 페이지 캐시 기능을 끕니다
  • $service!['useFastCGI'] = false;(DEPRECATED FROM TEXTCUBE 1.6) // Set 'true' to work with fastCGI module. fastCGI 기능을 사용하려면 true로 지정하세요
  • requireComponent('Needlworks.Function.Debug'); // Enable Textcube debug mode. (for core / plugin debug or optimization) 텍스트큐브 전용 디버그 루틴을 켭니다. 에러로그 및 모든 DB 접속, 페이지 생성에 대한 정보를 출력합니다.
  • $service!['debug_session_dump'] = false; // Use for session debugging. 세션을 디버그할 때 사용합니다.

// From 1.6

  • $service!['reader'] = true; // Use Textcube reader. You can set it to false if you do not use Textcube reader, and want to decrease DB load. 텍스트큐브 리더를 사용하지 않도록 합니다. 리더를 사용할 계획이 없고, 리더가 추가적으로 가져오는 데이터베이스 입출력 로드를 줄이기 위해서는 이 옵션을 false로 변경하시면 됩니다.
  • $service!['useFastCGI'] is deprecated. Textcube 1.6 will work with any environment (including fastCGI) automatically. useFastCGI 옵션은 1.6부터 제외됩니다. 텍스트큐브1.6 이후의 버전은 mod_rewrite를 지원하는 거의 모든 환경 (fastCGI 환경 포함) 에서 옵션 설정 없이 자동적으로 돌아갑니다.
  • $service!['pagecache'] = false; // Disable pagecache function. false로 지정하면 정적 페이지 캐시 기능을 끕니다
  • $service!['debugmode'] = true; // Use for debug mode. It replaces requireComponent('Needlworks.Function.Debug'); option. 디버그 모드를 활성화합니다. 기존의 requireComponent('Needlworks.Function.Debug'); 옵션을 대체합니다.
  • $service!['debug_rewrite_module'] = true; Use for debug mode. It prints rewrite options and path parsing results. 디버그 모드에서 사용할 수 있습니다. 현재 rewrite 모듈의 옵션 및 주소 파싱 결과를 볼 수 있습니다.
  • $service!['debug_session_dump'] = false; // session info debuging. 세션 정보를 디버그합니다.
  • $service!['fancyURL'] = 1; Use meta-semantic URL mode. mod_rewrite 모듈을 사용하지 않는 경우에도 의미론적인 주소를 최대한 유지합니다.
    • $service!['fancyURL'] = 0;
    • $service!['fancyURL'] = 1;
      • Meta-semantic URL support without mod_rewrite module. (e.g. http://www.example.com/?/entry/welcome-to-textcube) Web server DirectoryIndex setting should have index.php term.
      • mod_rewrite 모듈이 없지만 최대한 의미론적인 주소를 유지하는 경우입니다. 이 설정을 사용하기 위해서는 웹서버의 DirectoryIndex의 값에 index.php가 포함되어 있어야 합니다. (대부분의 호스팅 및 유닉스/리눅스 배포본의 웹서버에는 기본적으로 설정되어 있습니다.)
    • $service!['fancyURL'] = 2;
      • Default with mod_rewrite module. (e.g. http://www.example.com/entry/welcome-to-textcube)
      • mod_rewrite 모듈이 있는 경우의 기본 동작입니다. 의미론적인 주소를 사용할 수 있으며, 다중 사용자 블로그로 사용이 가능합니다.
  • $service!['flashclipboardpoter'] = false; // Disable flash for web browser-independent trackback address copy support. 트랙백주소 자동 복사기능을 브라우저에 상관없이 구현해주는 플래시 클립보드 복사 기능을 끕니다.
  • $service!['allowBlogVisibilitySetting'] = true; // Allow service users to change blog visibility 블로그 서비스를 운영시 가입자들이 비공개 블로그를 만들 수 있게 하거나 없게 할 수 있습니다. 기본값은 허용입니다.
  • $service!['favicon_daily_traffic'] = 10; // Set favicon traffic limitation. default is 10MB. 타 블로그에 댓글을 달았을 때, 하루에 그 블로그에 아이콘 또는 파비콘을 보여주기 위하여 소모되는 트래픽을 조정합니다. 기본 값은 10메가 바이트 입니다.
Clone this wiki locally