diff --git a/auth.php b/auth.php index b78376d..6352ec8 100644 --- a/auth.php +++ b/auth.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** User authentication (abstract class) */ class auth diff --git a/authentication.php b/authentication.php index fe4bec3..6c0f6e1 100644 --- a/authentication.php +++ b/authentication.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/auth.php"); require_once ("domframework/authparams.php"); diff --git a/authhtpasswd.php b/authhtpasswd.php index 8de4370..2054620 100644 --- a/authhtpasswd.php +++ b/authhtpasswd.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/auth.php"); diff --git a/authimap.php b/authimap.php index 722d468..50f1588 100644 --- a/authimap.php +++ b/authimap.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/auth.php"); require_once ("domframework/imap.php"); diff --git a/authjwt.php b/authjwt.php index 2fa8dde..5d29810 100644 --- a/authjwt.php +++ b/authjwt.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/jwt.php"); require_once ("domframework/uuid.php"); diff --git a/authldap.php b/authldap.php index 231ffaf..7e909c2 100644 --- a/authldap.php +++ b/authldap.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/auth.php"); diff --git a/authorization.php b/authorization.php index ce9b265..992fce8 100644 --- a/authorization.php +++ b/authorization.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** All the needed functions to authorize or deny access to an authenticated user */ diff --git a/authorizationdb.php b/authorizationdb.php index 1c4b781..4356baf 100644 --- a/authorizationdb.php +++ b/authorizationdb.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; error_reporting (E_ALL); require_once ("domframework/dblayer.php"); diff --git a/authparams.php b/authparams.php index 3263d64..45952af 100644 --- a/authparams.php +++ b/authparams.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Takes the email and the password of the user */ class authparams diff --git a/authsession.php b/authsession.php index b945351..746b727 100644 --- a/authsession.php +++ b/authsession.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** User authentication against SESSION */ class authsession extends auth diff --git a/authshibboleth.php b/authshibboleth.php index 6219b03..c61481a 100644 --- a/authshibboleth.php +++ b/authshibboleth.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/auth.php"); diff --git a/authsql.php b/authsql.php index 6ef052e..64fe151 100644 --- a/authsql.php +++ b/authsql.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/dblayer.php"); require_once ("domframework/auth.php"); diff --git a/authsympa.php b/authsympa.php index bb5b012..37db4fa 100644 --- a/authsympa.php +++ b/authsympa.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/auth.php"); diff --git a/authzgroups.php b/authzgroups.php index f9a4898..7c99cf6 100644 --- a/authzgroups.php +++ b/authzgroups.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/dblayer.php"); diff --git a/authzgroupsoo.php b/authzgroupsoo.php index 3fb6983..74bc68a 100644 --- a/authzgroupsoo.php +++ b/authzgroupsoo.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/dblayeroo.php"); diff --git a/backtrace.php b/backtrace.php index a01b4ab..111d0b9 100644 --- a/backtrace.php +++ b/backtrace.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Display the backtrace in HTML with clicks to display the content */ diff --git a/cachefile.php b/cachefile.php index cb8d5d8..bb70bf9 100644 --- a/cachefile.php +++ b/cachefile.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** A cache manager in file */ diff --git a/cacheoutput.php b/cacheoutput.php index 9b9bf2a..a0cf4db 100644 --- a/cacheoutput.php +++ b/cacheoutput.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** This class permit to cache the ouptut of a code. If the cache is already * available, use it. diff --git a/certificationauthority.php b/certificationauthority.php index d835318..2fb03e3 100644 --- a/certificationauthority.php +++ b/certificationauthority.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** An certificate authority */ diff --git a/cli.php b/cli.php index b0447f2..89d3506 100644 --- a/cli.php +++ b/cli.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Allow to interract with controllers and models from the CLI */ class cli diff --git a/color.php b/color.php index c3968b5..3bdfc1b 100644 --- a/color.php +++ b/color.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Convert the name of colors to RGB */ diff --git a/config.php b/config.php index 0f6a879..3cfd04d 100644 --- a/config.php +++ b/config.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Manage the configurations of the module done by administrator in a config * file diff --git a/console.php b/console.php index 377f872..afc7ee1 100644 --- a/console.php +++ b/console.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Allow to manage a linux Console to have a minimal but working text interface * When using this class, you must use the $console::echo method and not diff --git a/convert.php b/convert.php index cd40d5f..7950d59 100644 --- a/convert.php +++ b/convert.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Convert a format to another one */ diff --git a/csrf.php b/csrf.php index 0d0ba57..b0f9df0 100644 --- a/csrf.php +++ b/csrf.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** CSRF protection * By default, the CSRF protection is active if a SESSION is active too. diff --git a/daemon.php b/daemon.php index d9b2861..03f6f4d 100644 --- a/daemon.php +++ b/daemon.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/fork.php"); require_once ("domframework/file.php"); diff --git a/dbjson.php b/dbjson.php index 6186fe8..0f6e624 100644 --- a/dbjson.php +++ b/dbjson.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** DBJSON : a NoSQL DB in JSON * Documentation diff --git a/dblayer.php b/dblayer.php index 1fc346b..28ece6c 100644 --- a/dblayer.php +++ b/dblayer.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; // dblayer.php diff --git a/dblayerauthzgroups.php b/dblayerauthzgroups.php index 673cebf..4fe29fd 100644 --- a/dblayerauthzgroups.php +++ b/dblayerauthzgroups.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/dblayer.php"); diff --git a/dblayeroo.php b/dblayeroo.php index eb4f342..77d3475 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Permit abstraction on the differents SQL databases available */ diff --git a/encrypt.php b/encrypt.php index 2229568..60e6d35 100644 --- a/encrypt.php +++ b/encrypt.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Allow to encrypt/decrypt data */ diff --git a/file.php b/file.php index 1720650..09a39c5 100644 --- a/file.php +++ b/file.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** The file method allow to manage files like PHP with a working chroot on all * plateforms, and a right management compatible with database diff --git a/fork.php b/fork.php index 3086bb6..866e10f 100644 --- a/fork.php +++ b/fork.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Manage the fork of children in Posix mode */ diff --git a/form.php b/form.php index 977cc20..e82445c 100644 --- a/form.php +++ b/form.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/csrf.php"); diff --git a/fts.php b/fts.php index a0f85a5..78a0f3b 100644 --- a/fts.php +++ b/fts.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** The Full Text Search * Analyze the provided search text (like a search engine), and create the diff --git a/getopts.php b/getopts.php index d336fd8..5ffd22d 100644 --- a/getopts.php +++ b/getopts.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/verify.php"); diff --git a/graph.php b/graph.php index 0bb2654..c6682cc 100644 --- a/graph.php +++ b/graph.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/color.php"); diff --git a/http.php b/http.php index 5296a87..5f5f29c 100644 --- a/http.php +++ b/http.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** HTTP Helper : understand the best choices provided by browser, the HTTP * codes diff --git a/httpclient.php b/httpclient.php index aa40eef..7208832 100644 --- a/httpclient.php +++ b/httpclient.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/tcpclient.php"); diff --git a/imap.php b/imap.php index 77da4cf..67fd0cf 100644 --- a/imap.php +++ b/imap.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** IMAP connection abstraction In the IMAP terminology, "mailbox" is a folder in the mailbox of the user */ diff --git a/inifile.php b/inifile.php index c899a68..7099045 100644 --- a/inifile.php +++ b/inifile.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Manage .ini files like in php.ini Support the sections (or not) */ diff --git a/ipaddresses.php b/ipaddresses.php index 71cf65b..98a59c7 100644 --- a/ipaddresses.php +++ b/ipaddresses.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Manage the IP addresses conversions */ class ipaddresses diff --git a/jwt.php b/jwt.php index c4e7b38..1fc7e72 100644 --- a/jwt.php +++ b/jwt.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/encrypt.php"); diff --git a/language.php b/language.php index f42d003..308ebad 100644 --- a/language.php +++ b/language.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Language class : change the messages */ diff --git a/lockfile.php b/lockfile.php index 89e6e2f..6e985ea 100644 --- a/lockfile.php +++ b/lockfile.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** The lock management of files */ diff --git a/logger.php b/logger.php index bb1a4e5..2bedb83 100644 --- a/logger.php +++ b/logger.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** The logger class permit to log the information from the soft * It allow to debug too diff --git a/macaddresses.php b/macaddresses.php index b0584c4..2fc2245 100644 --- a/macaddresses.php +++ b/macaddresses.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Manage the MAC addresses * Based on : diff --git a/mail.php b/mail.php index 062562c..678c287 100644 --- a/mail.php +++ b/mail.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** The class to create a complete email. Can read an email from a content */ diff --git a/markdown.php b/markdown.php index e4b1cad..de97345 100644 --- a/markdown.php +++ b/markdown.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Convert the Markdown text to html format */ diff --git a/module.php b/module.php index 49b7eb7..e26ba18 100644 --- a/module.php +++ b/module.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Module management */ diff --git a/output.php b/output.php index fccd654..50d39fc 100644 --- a/output.php +++ b/output.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Class used to display data */ diff --git a/outputcsv.php b/outputcsv.php index a7996eb..e631ed3 100644 --- a/outputcsv.php +++ b/outputcsv.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/output.php"); diff --git a/outputdl.php b/outputdl.php index ac20508..9169b06 100644 --- a/outputdl.php +++ b/outputdl.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** This class allow a program to download a specific file from the filesystem, * without using too much memory. In also allow to manage the resuming of a diff --git a/outputhtml.php b/outputhtml.php index 1e91946..c6b4675 100644 --- a/outputhtml.php +++ b/outputhtml.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/output.php"); diff --git a/outputjson.php b/outputjson.php index 721aed9..b376b36 100644 --- a/outputjson.php +++ b/outputjson.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/output.php"); diff --git a/outputrest.php b/outputrest.php index 35592cf..e2adef9 100644 --- a/outputrest.php +++ b/outputrest.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/output.php"); require_once ("domframework/rest.php"); diff --git a/outputtxt.php b/outputtxt.php index 5af7122..8530f17 100644 --- a/outputtxt.php +++ b/outputtxt.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/output.php"); diff --git a/outputxml.php b/outputxml.php index c290fc6..7941eb6 100644 --- a/outputxml.php +++ b/outputxml.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/output.php"); diff --git a/password.php b/password.php index 9bf436d..525e4d5 100644 --- a/password.php +++ b/password.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** A class to manage the password hashing, password generation */ diff --git a/queue.php b/queue.php index 9fa71e0..bdb18a3 100644 --- a/queue.php +++ b/queue.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Manage a queue in multiple storages * A process can add entries to the end of a queue diff --git a/queuefile.php b/queuefile.php index 57b2984..68f3213 100644 --- a/queuefile.php +++ b/queuefile.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/queue.php"); require_once ("domframework/file.php"); diff --git a/ratelimit.php b/ratelimit.php index 5d50fbb..b4b176d 100644 --- a/ratelimit.php +++ b/ratelimit.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** The rate limit abstract class */ diff --git a/ratelimitfile.php b/ratelimitfile.php index b5b8159..b4ca091 100644 --- a/ratelimitfile.php +++ b/ratelimitfile.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/lockfile.php"); require_once ("domframework/ratelimit.php"); diff --git a/renderer.php b/renderer.php index ec29773..9642e65 100644 --- a/renderer.php +++ b/renderer.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Display the data in HTML with a FLASH method to display the errors */ diff --git a/rest.php b/rest.php index 42c3431..6705fd7 100644 --- a/rest.php +++ b/rest.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/http.php"); diff --git a/robotstxt.php b/robotstxt.php index 6530e61..fe45f0b 100644 --- a/robotstxt.php +++ b/robotstxt.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** This class analyze the provided robots.txt file content and allow to * get the configured data for DomSearch. diff --git a/route.php b/route.php index 0e276cf..57cb105 100644 --- a/route.php +++ b/route.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/http.php"); require_once ("domframework/ratelimitfile.php"); diff --git a/routeSQL.php b/routeSQL.php index f09dc40..06648e0 100644 --- a/routeSQL.php +++ b/routeSQL.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/route.php"); require_once ("domframework/form.php"); diff --git a/rss.php b/rss.php index e9e5afd..9e8a6c0 100644 --- a/rss.php +++ b/rss.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/verify.php"); require_once ("domframework/convert.php"); diff --git a/sitemap.php b/sitemap.php index dbe8969..0ce4742 100644 --- a/sitemap.php +++ b/sitemap.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** This class allow to read the sitemaps files available in websites, and give * the available URL and parameters diff --git a/smtp.php b/smtp.php index a736d10..62d4734 100644 --- a/smtp.php +++ b/smtp.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Allow to send mails by smtp */ diff --git a/spfcheck.php b/spfcheck.php index 843c278..5e44fe8 100644 --- a/spfcheck.php +++ b/spfcheck.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require ("domframework/ipaddresses.php"); diff --git a/sse.php b/sse.php index 775d87c..f419965 100644 --- a/sse.php +++ b/sse.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** This class allow to manage Server-Sent Events * The browser will be connected to a not ending loop. This loop will send diff --git a/tcpclient.php b/tcpclient.php index 62b1da5..bc8b6ba 100644 --- a/tcpclient.php +++ b/tcpclient.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** TCP Client * Allow to create TCP connections to a server. diff --git a/tcpserver.php b/tcpserver.php index c4dcaa6..0ac6f45 100644 --- a/tcpserver.php +++ b/tcpserver.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** This class allow to start a TCP server and call a function each time a * client is connected on it. Each client is separated in a child, so the diff --git a/users.php b/users.php index 3425707..5aef8ce 100644 --- a/users.php +++ b/users.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** The abstraction class of the users * Allow to manage the users in multiple storages (SQL, HTPasswd, passwd file). diff --git a/userssql.php b/userssql.php index 88251ab..3184a3c 100644 --- a/userssql.php +++ b/userssql.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/dblayer.php"); require_once ("domframework/users.php"); diff --git a/uuid.php b/uuid.php index aff9458..abe3302 100644 --- a/uuid.php +++ b/uuid.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Generate a UUID v4 */ diff --git a/verify.php b/verify.php index 069a9d7..0f5ba9a 100644 --- a/verify.php +++ b/verify.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Permit to check the validity of fields */ diff --git a/version.php b/version.php index 83f7761..5bcb292 100644 --- a/version.php +++ b/version.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** This is the version of DomFramework. * It can be used to test if the framework is uptodate for the application diff --git a/xdiff.php b/xdiff.php index 4d75bae..9d5c8ac 100644 --- a/xdiff.php +++ b/xdiff.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; /** Create a diff from two strings, array or files * The output is compatible with "patch" command. diff --git a/xmppclient.php b/xmppclient.php index 765cfaf..4fd643c 100644 --- a/xmppclient.php +++ b/xmppclient.php @@ -5,7 +5,7 @@ * @license BSD */ -//namespace Domframework; +namespace Domframework; require_once ("domframework/tcpclient.php");