spficklin vor 11 Jahren
Ursprung
Commit
2833cd87c8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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();
   
   // 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);
   tripal_cv_submit_obo_job($obo_id);
 }