Originally posted by gabrielcrowe
Obviously a background thread can be used to check for file changes. But the PHP files used by Actinic is not expected to change so often.
Originally posted by gabrielcrowe
When the engine is started the c++ code constructs the following PHP fragment and executes it.
Code:
CString sPath; sPath.Format("$sSitePath = \"%s\";\r\n" "chdir(\"$sSitePath\");\r\n" "if (file_exists($sSitePath . 'siteincludes.php')) include $sSitePath . 'siteincludes.php';\r\n", CTextUtils::MakeStringSafeForQuotedPerlFragment(s_sPath)); sInit += sPath;
Comment