diff --git a/rcc/index.php b/rcc/index.php index e7cdf75..4dfe5d8 100644 --- a/rcc/index.php +++ b/rcc/index.php @@ -32,6 +32,17 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + +require '../vendor/autoload.php'; +require '../res/php/Config.php'; + +use \mmk2410\rbe\config\Config as Config; + +$config = new Config("../config.yaml", '../vendor/autoload.php'); +$settings = $config->getConfig(); + +include './ssl.php'; + ?> @@ -64,12 +75,7 @@
getConfig(); +$config = $settings; if ($config["rcc"]["rcc"] == "on") { include 'password.php'; diff --git a/rcc/ssl.php b/rcc/ssl.php new file mode 100644 index 0000000..0923208 --- /dev/null +++ b/rcc/ssl.php @@ -0,0 +1,11 @@ +