Lines 61-67... ALMOST my way...
Lines 61, 62 63 and 65 reverted to the original paths.$include_dir = "./include";
$template_dir = "./templates";
$common_template_dir = "./common_template";
$settings_dir = ".settings";
$language_dir = "../sphider/languages";
$calendar_dir = "../sphider/calendar";
That is all the needs to be done to search.php in the es_search directory.
The following directories need to be copied from sphider to es_sphider:
sphider/common-template --> es_search/common-template
sphider/js-suggest --> es_search/js_suggest
sphider/include --> es_search/include
sphider/settings --> es_search/settings
sphider/templates --> es_search/templates
Also copy sphider-logo.png from sphider to es_search.
In the es_search/include directory, you may delete common.txt and simple_html_dom.php.
None of the copied files need any editing.
Now THAT works! Ask me WHY just changing the paths doesn't work and I'll say "Darned if I know --- YET!". I'm sure once I figure that out I'll be giving myself a head slap, but for right now I AM puzzled. Testing this got a bit crazy because doing this trial and error, I would delete a file and see if it still worked. It would work fine... work fine... work fine... then stop working. WHAT?! Then I realized there is this little thing called cache. So after each change I would need to not just test, but REFRESH, and THEN test.
As I said... I am puzzled why I can change the language path, but not the template path, or the include path? There IS a logical explanation, I just don't know what it is yet.