Gossamer Forum
Home : Products : DBMan : Customization :

Re: [knue] Updating many cfg files at once.

Quote Reply
Re: [knue] Updating many cfg files at once. In reply to
in sub build_external_select_field, change the following line:

$external_db=$db_script_path . '/' . lc($column) . '.db';

to

$external_db= whatever the name of the password file is

note: i'm assuming that all of the people you want included in the list are in a common password file somewhere. if you're having to manually add people to each password file in several different folders, i would suggest changing all the cfg files to reference the same pass file. then sub build_external_select_field can just reference that one file which can easily be maintained by whoever has admin permission in the databases. for this application you're using a pass file as if it were a db file; it works because it's a plain text file, though the passwords are encrypted.
Subject Author Views Date
Thread; hot thread Updating many cfg files at once. knue 17141 Nov 30, 2015, 12:17 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 16908 Dec 1, 2015, 6:22 AM
Post; hot thread Re: [delicia] Updating many cfg files at once.
delicia 16915 Dec 1, 2015, 8:50 AM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 16922 Dec 1, 2015, 2:48 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 16913 Dec 1, 2015, 5:19 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 16884 Dec 1, 2015, 5:25 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
knue 16909 Dec 1, 2015, 5:27 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 16910 Dec 1, 2015, 5:31 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
delicia 16869 Dec 1, 2015, 5:34 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 16905 Dec 1, 2015, 5:42 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 16899 Dec 1, 2015, 5:53 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 16865 Dec 1, 2015, 6:15 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 16856 Dec 1, 2015, 6:36 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
delicia 16865 Dec 1, 2015, 6:38 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 16850 Dec 1, 2015, 6:54 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
knue 16792 Dec 2, 2015, 9:50 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 16776 Dec 3, 2015, 1:54 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 16776 Dec 3, 2015, 8:13 PM
Post; hot thread Re: [knue] Updating many cfg files at once.
delicia 16755 Dec 4, 2015, 6:20 AM
Post; hot thread Re: [delicia] Updating many cfg files at once.
knue 16813 Dec 3, 2015, 11:56 AM