ServerPress / local-ssl

Allow DesktopServer to use SSL
4 stars 2 forks source link

mac_root_ca_install.scpt exists in repo #8

Closed davejesch closed 6 years ago

davejesch commented 6 years ago

STEPS TO REPRODUCE:

  1. clone repository

RESULT:

File mac_root_ca_install.scpt exists in repo

EXPECTED RESULT:

There code in prepend_0.php to create this file which is OS dependent. If it's creating the file should the file be added to .gitignore and removed from the repo?

shadowdao commented 6 years ago

Nothing Creates that file in prepend, but it is called in the file to install the root ca on mac. It should not be put in the .gitignore.

shell_exec("osascript " . LOCAL_SSL_PATH . "mac_root_ca_install.scpt");

This calls the OS X scripting language to run commands that we can't run directly from PHP.