ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


project:include_file_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
project:include_file_guide [2022/07/08 13:56] – [Description] more clearly describe lack of autoload support and consequences on Composer dregadproject:include_file_guide [2022/07/08 14:02] (current) – [Core Library] dregad
Line 10: Line 10:
 </WRAP> </WRAP>
  
-===== Core application =====+===== Core Library =====
 The following include file is required for all database applications: The following include file is required for all database applications:
 <code php> <code php>
Line 20: Line 20:
 [[v5:reference:adodb_fetch_mode]] [[v5:reference:adodb_fetch_mode]]
  
-Any driver and library files automatically include, based on driver and requirements. However, if you are modifying ADOdb file and are having difficulties debugging, your optional  core includes can look like this:+Any necessary driver and library files are automatically included, based on Connection requirements. 
 +However, if you are modifying ADOdb files and are having difficulties debugging, your optional core includes can look like this: 
 <code php> <code php>
 require 'adodb-directory/adodb.inc.php'; require 'adodb-directory/adodb.inc.php';
Line 28: Line 30:
 require 'adodb-directory/datadict/datadict-{driver}.inc.php'; require 'adodb-directory/datadict/datadict-{driver}.inc.php';
 </code> </code>
 +
 +<WRAP tip>
 +When using Composer, with default settings the actual value for the //adodb-directory// include path is ''vendor/adodb/adodb-php/''.
 +</WRAP>
  
 ===== Date/Time Library ===== ===== Date/Time Library =====
project/include_file_guide.txt · Last modified: 2022/07/08 14:02 by dregad