Skip to content

Commit

Permalink
refs #1700 : bugfix - setup include.php does not compatible with code
Browse files Browse the repository at this point in the history
 cache function.

 -

Conflicts:
	library/include.php
  • Loading branch information
inureyes committed Nov 5, 2014
1 parent 75c5342 commit 13ac4e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions library/include.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
/** Pre-define basic components */
global $__requireBasics, $__requireComponent, $__requireLibrary, $__requireModel, $__requireView;
/***** Loading code pieces *****/
if(isset($uri)) {
$codeName = $uri->uri['interfaceType'];
}
if(isset($service['codecache']) && ($service['codecache'] == true) && file_exists(__TEXTCUBE_CACHE_DIR__.'/code/'.$codeName)) {
$codeCacheRead = true;
require(__TEXTCUBE_CACHE_DIR__.'/code/'.$codeName);
Expand Down
4 changes: 0 additions & 4 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -1308,11 +1308,7 @@ function fail($msg) {
\$service['type'] = '{$_POST['type']}';
\$service['domain'] = '{$_POST['domain']}';
\$service['path'] = '$path';
<<<<<<< HEAD
\$service['skin'] = 'musicpaper';
=======
\$service['skin'] = 'periwinkle';
>>>>>>> c92e95f... refs #1544 : modified - periwinkle to default skin
\$service['favicon_daily_traffic'] = 10; // 10MB
//\$serviceURL = 'http://{$_POST['domain']}{$path}' ; // for path of Skin, plugin and etc.
//\$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.
Expand Down

0 comments on commit 13ac4e8

Please sign in to comment.