34 if (file_exists($iniFilePath)) {
40 $configContent = <<<EOD
49AboutVersion=Version @RELEASE_VERSION@
55AllRunningHint=All services running
56SomeRunningHint=%n of %t services running
57NoneRunningHint=None of %t services running
60Action: run; FileName:
"%AeTrayMenuPath%core/libs/php/php-win.exe"; Parameters:
"root.php startup"; WorkingDir:
"%AeTrayMenuPath%core"; Flags: waituntilterminated
61Action: run; FileName:
"%AeTrayMenuPath%core/libs/php/php-win.exe"; Parameters:
"root.php reload"; WorkingDir:
"%AeTrayMenuPath%core"; Flags: waituntilterminated
64Action: run; FileName:
"%AeTrayMenuPath%core/libs/php/php-win.exe"; Parameters:
"root.php checkVersion"; WorkingDir:
"%AeTrayMenuPath%core"; Flags: waituntilterminated
65Action: run; FileName:
"%AeTrayMenuPath%core/libs/php/php-win.exe"; Parameters:
"root.php exec"; WorkingDir:
"%AeTrayMenuPath%core"
69 if (file_put_contents($iniFilePath, $configContent) ===
false) {
70 throw new Exception(
"Failed to write to bearsampp.ini file.");