(0003438)
koreth
09-14-08 12:09
|
The fix for bug 2217 broken this. Here's a patch that seems to work. Not sure if this is the right way to set the default value for an ini file setting, though.
--- a/modules/quercus/src/com/caucho/quercus/page/PageManager.java
+++ b/modules/quercus/src/com/caucho/quercus/page/PageManager.java
@@ -58,7 +58,7 @@ public class PageManager
private boolean _isCompile;
private boolean _isCompileFailover = ! Alarm.isTest();
- private boolean _isRequireSource;
+ private boolean _isRequireSource = true;
protected LruCache<Path,QuercusProgram> _programCache
= new LruCache<Path,QuercusProgram>(1024);
@@ -252,7 +252,7 @@ public class PageManager
program = preloadProgram(path, fileName);
- if (program == null) {
+ if (program == null || isRequireSource()) {
program = QuercusParser.parse(_quercus,
path,
_quercus.getScriptEncoding(), |