diff options
Diffstat (limited to 'import/load_contacts_csv.php')
| -rw-r--r-- | import/load_contacts_csv.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/import/load_contacts_csv.php b/import/load_contacts_csv.php index 9c7c4c2..3a75030 100644 --- a/import/load_contacts_csv.php +++ b/import/load_contacts_csv.php @@ -1,6 +1,6 @@ <?php /** - * Load contacts from contact/data/Contacts.csv. + * Load contacts from storage/contact/Contacts.csv. * Matches on title; updates existing, creates new. * Append ?clear=y to delete and re-import all rows. * @@ -22,7 +22,7 @@ if( !$gBitUser->hasPermission( 'p_contact_admin' ) ) { require_once __DIR__ . '/ImportContactCSV.php'; -$csvFile = dirname( __DIR__ ) . '/data/Contacts.csv'; +$csvFile = CONTACT_IMPORT_PATH . 'Contacts.csv'; $doClear = ( ( $_REQUEST['clear'] ?? '' ) === 'y' ); $loaded = 0; $updated = 0; |
