]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
BASE_URL, not BASE_DIR :D
authorBram Matthys <redacted>
Wed, 11 Jan 2023 08:36:55 +0000 (09:36 +0100)
committerBram Matthys <redacted>
Wed, 11 Jan 2023 08:36:55 +0000 (09:36 +0100)
common.php

index cde08bd9bcda203c847d1cab89738878351fc741..7c70fc776086fe9b72c9fbaa9d9dbf987d950114 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 define('UPATH', dirname(__FILE__));
 require_once "config.php";
-if (!defined('BASE_DIR')) die("You need to define BASE_DIR in config.php (see config.php.sample for documentation)");
+if (!defined('BASE_URL')) die("You need to define BASE_URL in config.php (see config.php.sample for documentation)");
 require_once "Classes/class-hook.php";
 if (!is_dir(UPATH . "/vendor"))
        die("The vendor/ directory is missing. Most likely the admin forgot to run 'composer install'\n");