cacert-codedocs/source/DIR-includes.rst
Karl-Heinz Gödderz (GuKKDevel) b51f75f7c9 adding content for .htaccess; important because of include
includes/general.php
2018-12-08 11:00:01 +01:00

17 KiB

includes

PHP

Directory includes

includes/.cvsignore

.cvsignore includes the parameters for CVS, which files to ignore by versioning

Note

CVS is long dead, is this still used?

includes/.gitignore

.gitignore contains file patterns to be ignored by Git.

includes/about_menu.php

includes/account_stuff.php

includes/account_stuff.php provides two procedures to be used for building the output of some HTML-pages.

includes/account.php

includes/general_stuff.php

includes/general.php

includes/keygen.php

includes/loggedin.php

includes/mysql.php

includes/mysql.php is not contained in the cacert-devel repository but is used by several other files. The file is copied from includes/mysql.php.sample and defines the database connection information.

This file is parsed directly by CommModule/client.pl format changes might break the CommModule code.

includes/mysql.php.sample

mysql.php.sample is a template for the database connection handling code that is meant to be copied to mysql.php.

The template defines the MySQL connection as a session variable mconn and tries to connect to that database. It also defines the session variables normalhostname, securehostname and tverify.

The template defines a function :phpsendmail for sending mails.

Configuration and actual code are mixed. It would be better to have a separate file that just includes configuration.

includes/notary.inc.php

includes/notary.inc.php provides a set of funktions; here listed in the given order:

check points and points_countable

more documentation from line 833 on

includes/shutdown.php

includes/sponsorinfo.php

includes/tverify_stuff.php

includes/lib

PHP

Directory includes/lib

includes/lib/account.php

includes/lib/check_weak_key.php

includes/lib/general.php

includes/lib/l10n.php