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 17393 Nov 30, 2015, 12:17 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 17156 Dec 1, 2015, 6:22 AM
Post; hot thread Re: [delicia] Updating many cfg files at once.
delicia 17164 Dec 1, 2015, 8:50 AM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 17171 Dec 1, 2015, 2:48 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 17161 Dec 1, 2015, 5:19 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 17132 Dec 1, 2015, 5:25 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
knue 17157 Dec 1, 2015, 5:27 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 17159 Dec 1, 2015, 5:31 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
delicia 17117 Dec 1, 2015, 5:34 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 17153 Dec 1, 2015, 5:42 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 17147 Dec 1, 2015, 5:53 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 17113 Dec 1, 2015, 6:15 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 17105 Dec 1, 2015, 6:36 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
delicia 17113 Dec 1, 2015, 6:38 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 17098 Dec 1, 2015, 6:54 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
knue 17040 Dec 2, 2015, 9:50 PM
Thread; hot thread Re: [knue] Updating many cfg files at once.
delicia 17024 Dec 3, 2015, 1:54 PM
Thread; hot thread Re: [delicia] Updating many cfg files at once.
knue 17024 Dec 3, 2015, 8:13 PM
Post; hot thread Re: [knue] Updating many cfg files at once.
delicia 17003 Dec 4, 2015, 6:20 AM
Post; hot thread Re: [delicia] Updating many cfg files at once.
knue 17061 Dec 3, 2015, 11:56 AM