diff options
Diffstat (limited to 'cpp/src/slice2php/Main.cpp')
-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" ; } |