Changeset 5080

Show
Ignore:
Timestamp:
01/17/08 20:50:01 (2 years ago)
Author:
inureyes
Message:

#805

  • 리더 사용을 끌 수 있도록 함.
Location:
trunk
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/config

    r5029 r5080  
    2121$service['useLegacySupport'] = false; // Uses legacy support (for tattertools plugins) function. 
    2222// From 1.6 
     23$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. 
    2324$service['pagecache'] = true; // pagecache function. (changed from disablePageCache option at TC 1.5) 
    2425$service['debugmode'] = false; // Textcube debug mode. (for core / plugin debug or optimization) (changed from requireComponent('Needlworks.Function.Debug'); at TC 1.5) 
  • trunk/lib/config.php

    r5076 r5080  
    3939$service['useEncodedURL'] = false; 
    4040$service['debugmode'] = false; 
     41$service['reader'] = true; 
    4142//$service['flashuploader'] = false; 
    4243 
  • trunk/lib/includeForFeeder.php

    r5075 r5080  
    55// Basics 
    66require ROOT .'/lib/config.php'; 
     7if($service['reader'] === false) exit; 
    78require ROOT .'/lib/function/string.php'; 
    89require ROOT .'/lib/function/time.php'; 
  • trunk/lib/includeForReader.php

    r5079 r5080  
    55// Basics 
    66require ROOT .'/lib/config.php'; 
     7if($service['reader'] === false) exit; 
    78require ROOT .'/lib/function/string.php'; 
    89require ROOT .'/lib/function/time.php'; 
  • trunk/lib/piece/owner/header.php

    r4994 r5080  
    3333        ); 
    3434} 
     35if($service['reader'] === false) array_pop($blogTopMenuItem); 
     36 
    3537if(Acl::check('group.creators')) {  
    3638    array_push($blogTopMenuItem, array('menu'=>'control','title'=>_t('제어판'),'link'=>'/owner/control/blog')); 
  • trunk/lib/view/view.php

    r4995 r5080  
    122122 
    123123function getScriptsOnFoot() { 
     124    global $service; 
    124125    ob_start(); 
    125     if(gmmktime() - getBlogSetting('lastFeedUpdate',0) > 180) {  
     126    if(($service['reader'] != false) && (gmmktime() - getBlogSetting('lastFeedUpdate',0) > 180)) {   
    126127?> 
    127128    <script type="text/javascript"> 
  • trunk/setup.php

    r5034 r5080  
    14971497\$service['skin'] = 'coolant'; 
    14981498//\$serviceURL = 'http://{$_POST['domain']}{$path}' ; // for path of Skin, plugin and etc. 
     1499//\$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. 
    14991500//\$service['debugmode'] = true; // uncomment for debugging, e.g. displaying DB Query or Session info 
    15001501//\$service['pagecache'] = false; // uncomment if you want to disable page cache feature.