diff options
author | Mark Spruiell <mes@zeroc.com> | 2011-05-07 09:46:49 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2011-05-07 09:46:49 -0700 |
commit | 32607cadbc301f6b3f4fe8b5b61f9e129bd90563 (patch) | |
tree | 922c3c8c68a5d0195f39092a42a6f44dc11dab0a /cpp/src | |
parent | 5068 - Conflict when using "System" as an Ice module (diff) | |
download | ice-32607cadbc301f6b3f4fe8b5b61f9e129bd90563.tar.bz2 ice-32607cadbc301f6b3f4fe8b5b61f9e129bd90563.tar.xz ice-32607cadbc301f6b3f4fe8b5b61f9e129bd90563.zip |
bug 4855 - undefined symbol error in PHP
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/slice2php/Main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp index 53904232da5..4cece33bffa 100644 --- a/cpp/src/slice2php/Main.cpp +++ b/cpp/src/slice2php/Main.cpp @@ -1420,7 +1420,7 @@ generate(const UnitPtr& un, bool all, bool checksum, bool ns, const vector<strin for(StringList::const_iterator q = includes.begin(); q != includes.end(); ++q) { string file = changeInclude(*q, paths); - out << nl << "require '" << file << ".php';"; + out << nl << "require_once '" << file << ".php';"; } if(ns) { @@ -1537,7 +1537,7 @@ usage(const char* n) "--underscore Permit underscores in Slice identifiers.\n" "--all Generate code for Slice definitions in included files.\n" "--checksum Generate checksums for Slice definitions.\n" - "-n, --namespace Use PHP namespaces (requires PHP 5.3.0 or later).\n" + "-n, --namespace Use PHP namespaces (requires PHP 5.3 or later).\n" ; } |