Commit Graph
13 Commits
Author SHA1 Message Date
Bharat Mediratta 4dbb14a0a8 define $arguments so that we don't have an error. 2009-01-14 04:30:19 +00:00
Bharat Mediratta 9f0c33fdbd priviledge -> privilege 2009-01-14 04:26:03 +00:00
Bharat Mediratta f3ba69c1d6 Make sure that helper functions are all static. Add new
File_Structure_Test to make sure we don't regress.

According to the PHP docs, the "public" keyword is implied on static
functions, so remove it.  Also, require private static functions to
start with an _.

http://php.net/manual/en/language.oop5.visibility.php
2009-01-14 04:12:02 +00:00
Tim Almdal 02af2d8b76 The installer. At this point, the core installs, the user module defines groups and users, but dies when attempting to create default permissions 2009-01-14 03:38:51 +00:00
Tim Almdal e02c5759bb Add a check to (e|i)nsure that the database provided is empty 2009-01-12 05:12:17 +00:00
Tim Almdal ea3785c126 Add a check that the installation directory is writable 2009-01-12 02:33:53 +00:00
Tim Almdal df44265401 Check to insure that the supplied user had the required permissions 2009-01-12 01:34:36 +00:00
Tim Almdal 65e28bc678 Moving slowly forward on the batch installer. It now connects to the database and checks that the supplied database is defined. 2009-01-11 23:08:23 +00:00
Tim Almdal c14387011e add a -i parameter that allows the specification of the database type (defaults: mysqli) 2009-01-11 07:33:57 +00:00
Tim Almdal 8c8bdf7025 allow modules to be installed to be specified as command line option or in the response file 2009-01-11 07:30:26 +00:00
Tim Almdal 6fdca531c6 allow modules to be installed to be specified as command line option or in the response file 2009-01-11 07:14:19 +00:00
Tim Almdal 144f8c342b Change the format of the internal error messages and pretty print the installation parameters 2009-01-10 22:00:14 +00:00
Tim Almdal 4c330e5a99 Continuing baby steps to a batch installer. At this point you can run the installer and it will parse the command line arguments.
currently the following arguments are accepted -h(database host) -u(database user) -p(database password) -d(database name) -t(table prefex) or -f(a response file).

The order of processing, defaults are set. if the response file is provided, the contained values are merged and finally any command line parameters are merged.
2009-01-10 20:47:38 +00:00