We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20e6d3b commit 24480eeCopy full SHA for 24480ee
data/setup_permissions.php
@@ -1,5 +1,5 @@
1
<?php
2
-require_once dirname(__FILE__).'/../www/config.inc.php';
+require_once __DIR__ . '/../www/config.inc.php';
3
error_reporting(E_ALL | E_STRICT);
4
5
ini_set("auto_detect_line_endings", true);
@@ -8,7 +8,7 @@
8
* Export the UNL HR contact list (go.unl.edu/hrcontacts) to CSV using the
9
* same format as the hr_contacts_sample.csv
10
*/
11
-$permissions = new SplFileObject(dirname(__FILE__).'/UNL Org Units with Contacts for Help Desk-Updated 4-2012.csv');
+$permissions = new SplFileObject(__DIR__ . '/paf.csv');
12
$permissions->setFlags(SplFileObject::READ_CSV);
13
14
foreach ($permissions as $row) {
@@ -18,4 +18,4 @@
18
if ($department) {
19
$department->addUser($uid);
20
}
21
-}
+}
0 commit comments