Skip to content

Commit 24480ee

Browse files
committed
Coding standards
1 parent 20e6d3b commit 24480ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

data/setup_permissions.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require_once dirname(__FILE__).'/../www/config.inc.php';
2+
require_once __DIR__ . '/../www/config.inc.php';
33
error_reporting(E_ALL | E_STRICT);
44

55
ini_set("auto_detect_line_endings", true);
@@ -8,7 +8,7 @@
88
* Export the UNL HR contact list (go.unl.edu/hrcontacts) to CSV using the
99
* same format as the hr_contacts_sample.csv
1010
*/
11-
$permissions = new SplFileObject(dirname(__FILE__).'/UNL Org Units with Contacts for Help Desk-Updated 4-2012.csv');
11+
$permissions = new SplFileObject(__DIR__ . '/paf.csv');
1212
$permissions->setFlags(SplFileObject::READ_CSV);
1313

1414
foreach ($permissions as $row) {
@@ -18,4 +18,4 @@
1818
if ($department) {
1919
$department->addUser($uid);
2020
}
21-
}
21+
}

0 commit comments

Comments
 (0)