Browse Source

minor fix

spficklin 11 years ago
parent
commit
2833cd87c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_contact/tripal_contact.install

+ 1 - 1
tripal_contact/tripal_contact.install

@@ -41,7 +41,7 @@ function tripal_contact_install() {
   tripal_contact_add_custom_tables();
   tripal_contact_add_custom_tables();
   
   
   // add loading of the the tripal contact ontology to the job queue
   // add loading of the the tripal contact ontology to the job queue
-  $obo_path =  realpath('./') . '/' . drupal_get_path('module', 'tripal_contact') . '/files/tcontact.obo';
+  $obo_path = drupal_realpath(drupal_get_path('module', 'tripal_contact') . '/files/tcontact.obo');
   $obo_id = tripal_cv_add_obo_ref('Tripal Contacts', $obo_path);
   $obo_id = tripal_cv_add_obo_ref('Tripal Contacts', $obo_path);
   tripal_cv_submit_obo_job($obo_id);
   tripal_cv_submit_obo_job($obo_id);
 }
 }