Changeset 5080
- Timestamp:
- 01/17/08 20:50:01 (2 years ago)
- Location:
- trunk
- Files:
-
- 7 modified
-
doc/config (modified) (1 diff)
-
lib/config.php (modified) (1 diff)
-
lib/includeForFeeder.php (modified) (1 diff)
-
lib/includeForReader.php (modified) (1 diff)
-
lib/piece/owner/header.php (modified) (1 diff)
-
lib/view/view.php (modified) (1 diff)
-
setup.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/config
r5029 r5080 21 21 $service['useLegacySupport'] = false; // Uses legacy support (for tattertools plugins) function. 22 22 // 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. 23 24 $service['pagecache'] = true; // pagecache function. (changed from disablePageCache option at TC 1.5) 24 25 $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 39 39 $service['useEncodedURL'] = false; 40 40 $service['debugmode'] = false; 41 $service['reader'] = true; 41 42 //$service['flashuploader'] = false; 42 43 -
trunk/lib/includeForFeeder.php
r5075 r5080 5 5 // Basics 6 6 require ROOT .'/lib/config.php'; 7 if($service['reader'] === false) exit; 7 8 require ROOT .'/lib/function/string.php'; 8 9 require ROOT .'/lib/function/time.php'; -
trunk/lib/includeForReader.php
r5079 r5080 5 5 // Basics 6 6 require ROOT .'/lib/config.php'; 7 if($service['reader'] === false) exit; 7 8 require ROOT .'/lib/function/string.php'; 8 9 require ROOT .'/lib/function/time.php'; -
trunk/lib/piece/owner/header.php
r4994 r5080 33 33 ); 34 34 } 35 if($service['reader'] === false) array_pop($blogTopMenuItem); 36 35 37 if(Acl::check('group.creators')) { 36 38 array_push($blogTopMenuItem, array('menu'=>'control','title'=>_t('제어판'),'link'=>'/owner/control/blog')); -
trunk/lib/view/view.php
r4995 r5080 122 122 123 123 function getScriptsOnFoot() { 124 global $service; 124 125 ob_start(); 125 if( gmmktime() - getBlogSetting('lastFeedUpdate',0) > 180) {126 if(($service['reader'] != false) && (gmmktime() - getBlogSetting('lastFeedUpdate',0) > 180)) { 126 127 ?> 127 128 <script type="text/javascript"> -
trunk/setup.php
r5034 r5080 1497 1497 \$service['skin'] = 'coolant'; 1498 1498 //\$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. 1499 1500 //\$service['debugmode'] = true; // uncomment for debugging, e.g. displaying DB Query or Session info 1500 1501 //\$service['pagecache'] = false; // uncomment if you want to disable page cache feature.
