Skip to content

Commit 57f4d63

Browse files
author
Andrew Zenin
committed
Small fixes
1 parent 3dd739f commit 57f4d63

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

php4DelphiD2010.dpk

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,23 @@ requires
3838

3939
contains
4040
PHPProjectWizard in 'PHPProjectWizard.pas',
41+
{ Components Requirements }
42+
DelphiFunctions in 'DelphiFunctions.pas',
43+
phpLibrary in 'phpLibrary.pas',
44+
PHPCommon in 'phpCommon.pas',
45+
phpFunctions in 'phpFunctions.pas',
46+
ZENDTypes in 'ZENDTypes.pas',
47+
phpClass in 'phpClass.pas',
48+
php4delphi in 'php4delphi.pas',
49+
phpModules in 'phpModules.pas',
50+
phpAPI in 'phpAPI.pas',
51+
ZENDAPI in 'ZENDAPI.pas',
52+
PHPTypes in 'PHPTypes.pas',
53+
{ Components Requirements }
4154
php4DelphiReg in 'php4DelphiReg.pas',
4255
php4DelphiWeb in 'php4DelphiWeb.pas',
4356
phpWeb in 'phpWeb.pas',
4457
phpAbout in 'phpAbout.pas' { dlgAbout };
4558

4659
end.
60+

php4DelphiD2010.dproj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,19 @@
8787
<DCCReference Include="vclactnband.dcp"/>
8888
<DCCReference Include="vclx.dcp"/>
8989
<DCCReference Include="PHPProjectWizard.pas"/>
90+
<DCCReference Include="DelphiFunctions.pas"/>
91+
<DCCReference Include="phpLibrary.pas"/>
92+
<DCCReference Include="phpCommon.pas"/>
93+
<DCCReference Include="phpFunctions.pas"/>
94+
<DCCReference Include="ZENDTypes.pas"/>
95+
<DCCReference Include="phpClass.pas"/>
96+
<DCCReference Include="php4delphi.pas"/>
97+
<DCCReference Include="phpModules.pas"/>
98+
<DCCReference Include="phpAPI.pas"/>
99+
<DCCReference Include="ZENDAPI.pas"/>
100+
<DCCReference Include="PHPTypes.pas">
101+
<Form>Components Requirements</Form>
102+
</DCCReference>
90103
<DCCReference Include="php4DelphiReg.pas"/>
91104
<DCCReference Include="php4DelphiWeb.pas"/>
92105
<DCCReference Include="phpWeb.pas"/>

php4delphi.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -861,11 +861,11 @@ procedure delphi_error_cb(_type : integer; const error_filename : PAnsiChar;
861861
error_type_str := 'Unknown error';
862862
end;
863863

864-
php_log_err(PAnsiChar(Format('PHP4DELPHI %s: %s in %s on line %d', [error_type_str, buffer, error_filename, error_lineno])), p);
864+
php_log_err(PAnsiChar(AnsiFormat('PHP4DELPHI %s: %s in %s on line %d', [error_type_str, buffer, error_filename, error_lineno])), p);
865865
end;
866866
end;
867-
868-
_zend_bailout(error_filename, error_lineno);
867+
if PHPLoaded then
868+
_zend_bailout(error_filename, error_lineno);
869869
end;
870870
{$ENDIF}
871871
{$IFDEF soulengine_build}

0 commit comments

Comments
 (0)