New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gacl code cleanup #2894
gacl code cleanup #2894
Conversation
library/classes/gacl/gacl.class.php
Outdated
require_once(dirname(__FILE__) . "/../../../library/sqlconf.php"); | ||
require_once(dirname(__FILE__) . "/../../../vendor/adodb/adodb-php/adodb.inc.php"); | ||
require_once(dirname(__FILE__) . "/../../../vendor/adodb/adodb-php/drivers/adodb-mysqli.inc.php"); | ||
require_once(dirname(__FILE__) . "/../../../library/ADODB_mysqli_mod.php"); |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
GACL seriously needs a makeover tbh |
/* | ||
* Path to ADODB. | ||
*/ | ||
|
||
if ( !defined('ADODB_DIR') ) { | ||
define('ADODB_DIR', dirname(__FILE__).'/../vendor/adodb/adodb-php'); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looked into why above is needed and decided to keep as is.
require_once(dirname(__FILE__) . "/../../library/sqlconf.php"); | ||
require_once(dirname(__FILE__) . "/../../vendor/adodb/adodb-php/adodb.inc.php"); | ||
require_once(dirname(__FILE__) . "/../../vendor/adodb/adodb-php/drivers/adodb-mysqli.inc.php"); | ||
require_once(dirname(__FILE__) . "/../../library/ADODB_mysqli_mod.php"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looked into why above is needed and decided to keep as is.
Converted to psr4 classes and codebase changes supporting that.
ae51196
to
4ac4b59
Compare
This is testing well and plan to bring in soon (crossing fingers it will be easy merge to bootstrap PR :) ) |
gacl code cleanup