-
-
Save totten/1e7bf55e669cda6684bd69af25889da0 to your computer and use it in GitHub Desktop.
Contrib (extension) functionality that explicitly relies on "include_path"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Generated by this command: | |
## | |
## svngrep '\(get_include_path\|stream_resolve_include_path\|isIncludable\|listIncludeFiles\|getPluginList\)' | grep -v \\.civix\\.php | grep -v /vendor/ | |
## | |
## And then manually sorted into buckets. | |
## Bespoke searches | |
tutorial/CRM/Tutorial/BAO/Tutorial.php: $directories = array_unique(explode(PATH_SEPARATOR, get_include_path())); | |
net.ourpowerbase.report.advancedfundraising/CRM/Advancedfundraising/Form/Report/ReportBase.php: if(!CRM_Utils_File::isIncludable('templates/' . $defaultTpl)){ | |
nz.co.fuzion.extendedreport/CRM/Extendedreport/Form/Report/ExtendedReport.php: if (!CRM_Utils_File::isIncludable('templates/' . $defaultTpl)) { | |
nz.co.fuzion.civitoken/civitoken.php: foreach (explode(':', get_include_path()) as $path) { | |
## Adhoc file-checks | |
uk.co.vedaconsulting.civisubscription/CRM/Contact/Page/View/Summary.php: if (CRM_Utils_File::isIncludable('CRM_Subscription_BAO_Subscription')) { | |
de.systopia.sqltasks/CRM/Sqltasks/Action/CSVExport.php: if (stream_resolve_include_path('Net/SFTP.php') === FALSE) { | |
de.systopia.sqltasks/CRM/Sqltasks/Action/SegmentationExport.php: if (stream_resolve_include_path('Net/SFTP.php') === FALSE) { | |
org.project60.sepa/CRM/Sepa/Logic/Format.php: $file = stream_resolve_include_path("templates{$s}Sepa{$s}Formats{$s}{$fileFormatName}{$s}Format.php"); | |
## Extra registrations | |
nz.co.fuzion.omnipaymultiprocessor/omnipaymultiprocessor.php: $include_path = $extRoot . DIRECTORY_SEPARATOR . 'vendor' . PATH_SEPARATOR . get_include_path( ); | |
civicrm-groups-sync/includes/class-civicrm.php: $template_include_path = $custom_path . PATH_SEPARATOR . get_include_path(); | |
civimobile/civimobile.php: $include_path = $tabRoot .'code'. PATH_SEPARATOR . get_include_path( ); | |
uk.co.circleinteractive.offlinerecurring/offlinerecurring.php: set_include_path("$ddRoot/$subDir/php" . PATH_SEPARATOR . get_include_path()); | |
eu.tttp.publicautocomplete/publicautocomplete.php: $include_path = $extRoot . PATH_SEPARATOR . get_include_path(); | |
uk.co.vedaconsulting.payment.gocardlessdd/gocardless_dd.php: $include_path = $batchingRoot . PATH_SEPARATOR . get_include_path( ); | |
wp-plugin/civicrm-admin-utilities/includes/civicrm-admin-utilities-single.php: $template_include_path = $custom_path . PATH_SEPARATOR . get_include_path(); | |
com.webaccessglobal.module.civimobile/civimobile.php: $include_path = $tabRoot .'code'. PATH_SEPARATOR . get_include_path( ); | |
uk.co.vedaconsulting.googlegroup/googlegroup.php:set_include_path(get_include_path() . PATH_SEPARATOR . 'google-api-php-client/src'); | |
com.cividesk.normalize/normalize.php: set_include_path($extRoot . 'packages' . PATH_SEPARATOR . get_include_path()); | |
## Inherited form other packages | |
biz.jmaconsulting.printgrantpdfs/packages/PHPExcel/Chart.php: $includePath = str_replace('\\','/',get_include_path()); | |
biz.jmaconsulting.printgrantpdfs/packages/PHPExcel/Chart.php: set_include_path(get_include_path() . PATH_SEPARATOR . $libraryPath); | |
biz.jmaconsulting.printgrantpdfs/packages/PHPExcel/Writer/PDF.php: $includePath = str_replace('\\', '/', get_include_path()); | |
biz.jmaconsulting.printgrantpdfs/packages/PHPExcel/Writer/PDF.php: set_include_path(get_include_path() . PATH_SEPARATOR . $pdfLibraryPath); | |
org.civicrm.sms.twilio/Services/Twilio/Tests/Bootstrap.php:$path = array($library, $tests, get_include_path()); | |
grep: messagemedia/packages/phonenumber/vendor/phar-io/manifest/tests/_fixture/test.phar: binary file matches | |
com.klangsoft.flexiblejobs/CRM/Core/SelectValues.php: $map = CRM_Utils_System::getPluginList('templates/CRM/Contact/Form/Task/Map', ".tpl"); | |
com.klangsoft.flexiblejobs/CRM/Core/SelectValues.php: $geo = CRM_Utils_System::getPluginList('CRM/Utils/Geocode'); | |
com.klangsoft.flexiblejobs/CRM/Core/SelectValues.php: $addr = CRM_Utils_System::getPluginList('CRM/Utils/Address', '.php', array('BatchUpdate')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment