This repository was archived by the owner on Mar 4, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +15
-13
lines changed Expand file tree Collapse file tree 7 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ function btrCore_config_set_languages() {
100100 field_update_field ($ info );
101101
102102 // Update the cached value of btrClient_languages.
103- cache_clear_all ('btrClient_languages ' , 'cache_btrClient ' );
104- $ languages = btrClient_get_languages ();
103+ if (module_exists ('btrClient ' )) {
104+ cache_clear_all ('btrClient_languages ' , 'cache_btrClient ' );
105+ $ languages = btrClient_get_languages ();
106+ }
105107}
Original file line number Diff line number Diff line change 44# ## go to the script directory
55cd $( dirname $0 )
66
7- # ## get config vars
8- . ../config.sh
7+ # ## set drush site
8+ drush= " drush $1 "
99
1010origin=' vocabulary'
1111for file in $( ls vocabulary/* .po)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ mysql=$(drush sql-connect)
88$mysql < db/btr_schema.sql
99
1010# ## import the vocabulary projects
11- import/vocabulary.sh
11+ import/vocabulary.sh --root=/var/www/btr
1212
1313# ## import some PO files, just for testing/development
1414test/update.sh
Original file line number Diff line number Diff line change 33# ## go to the script directory
44cd $( dirname $0 )
55
6- # ## set drush alias
7- drush=" drush $1 "
6+ # ## set drush root
7+ drush=" drush --root=/var/www/btr "
88
99# ## set some variables
1010origin=test
Original file line number Diff line number Diff line change 33# ## go to the script directory
44cd $( dirname $0 )
55
6- # ## set drush alias
7- drush=" drush $1 "
6+ # ## set drush root
7+ drush=" drush --root=/var/www/btr "
88
99# ## set some variables
1010origin=test
Original file line number Diff line number Diff line change 33# ## go to the script directory
44cd $( dirname $0 )
55
6- # ## set drush alias
7- drush=" drush $1 "
6+ # ## set drush root
7+ drush=" drush --root=/var/www/btr "
88
99# ## set some variables
1010origin=test
Original file line number Diff line number Diff line change 33# ## go to the script directory
44cd $( dirname $0 )
55
6- # ## set drush alias
7- drush=" drush $1 "
6+ # ## set drush root
7+ drush=" drush --root=/var/www/btr "
88
99# ## set some variables
1010origin=test
You can’t perform that action at this time.
0 commit comments