Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » std.batch.inc
std.batch.inc [message #326] Mon, 23 October 2006 12:46 Go to next message
cpscdave is currently offline  cpscdave
Messages: 20
Registered: June 2006
Junior Member
Inside of batchInit($batchfile)

Currently
Line 21: $ini_array = parse_ini_file('batch.ini'); // retrieve variables from file

Shouldn't this be changed to
$ini_array = parse_ini_file($batchfile); // retrieve variables from file

-Dave

*edit for spelling*

[Updated on: Mon, 23 October 2006 12:46]

Report message to a moderator

Re: std.batch.inc [message #327 is a reply to message #326] Mon, 23 October 2006 13:17 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2363
Registered: April 2006
Location: Surrey, UK
Senior Member
No. The batch.ini file contains settings that apply to any number of batch jobs, and they are put into a separate file so that they do not have to be duplicated.

Take a look at the documentation at http://www.tonymarston.net/php-mysql/infrastructure-faq.html #faq56 and you will see what I mean.



Re: std.batch.inc [message #328 is a reply to message #326] Mon, 23 October 2006 13:42 Go to previous messageGo to next message
cpscdave is currently offline  cpscdave
Messages: 20
Registered: June 2006
Junior Member
Okay I see what you're saying now, I was under the impression that the intention was to be able to have specific ini's for different scripts.
Re: std.batch.inc [message #329 is a reply to message #328] Mon, 23 October 2006 14:04 Go to previous message
AJM is currently offline  AJM
Messages: 2363
Registered: April 2006
Location: Surrey, UK
Senior Member
No. The batch.ini file is general purpose and shared among any number of scripts. If you want a specific setting for a particular script, then you place that setting within the script itself.

Previous Topic: search criteria carry through when creating new record
Next Topic: Enum Type and 0 index.
Goto Forum:
  


Current Time: Fri Nov 08 17:24:47 EST 2024

Total time taken to generate the page: 0.01181 seconds