PMCORE-3844

This commit is contained in:
Julio Cesar Laura Avendaño
2022-05-26 14:56:23 +00:00
committed by Mauricio Veliz
parent 7bb67a97bd
commit 9f1b738093
82 changed files with 300 additions and 552 deletions

View File

@@ -924,7 +924,7 @@ class Phing {
// This is a bit of a hack, but works better than previous solution of assuming
// data_dir is on the include_path.
$data_dir = '@DATA-DIR@';
if ($data_dir{0} != '@') { // if we're using PEAR then the @ DATA-DIR @ token will have been substituted.
if ($data_dir[0] != '@') { // if we're using PEAR then the @ DATA-DIR @ token will have been substituted.
$data_path = $data_dir . DIRECTORY_SEPARATOR . $path;
if (file_exists($data_path)) {
return $data_path;
@@ -1106,11 +1106,8 @@ class Phing {
private static function setIni() {
error_reporting(E_ALL);
set_time_limit(0);
ini_set('magic_quotes_gpc', 'off');
ini_set('short_open_tag', 'off');
ini_set('default_charset', 'iso-8859-1');
ini_set('register_globals', 'off');
ini_set('allow_call_time_pass_reference', 'on');
}
/**