Open Bigtieger opened 1 year ago
All i know is that the defaults path are inconsistent and i've got the Game working with the following tweaks. Maybe there is a better way.
I had to change a few default Paths in the constants.php to get the Game working:
// SYSTEM ROOT, IGNORING PUBLIC define('SYSTEM_ROOT', PROTOCOL . '/');
// GAME URL define('GAMEURL', PROTOCOL . $_SERVER['HTTP_HOST'] . '/');
// ADMIN PATHS define('ADM_URL', PROTOCOL . '/');
define('PUBLIC_PATH', '' . DIRECTORY_SEPARATOR);
-->
https://github.com/XGProyect/XG-Proyect-v3.x.x/blob/d1d9dc7ed498c4417f41b955871d4b67e0bb39d7/app/Http/Controllers/Adm/UsersController.php#L884
opendir(XGP_ROOT . 'public'. DEFAULT_SKINPATH . 'planets');
All i know is that the defaults path are inconsistent and i've got the Game working with the following tweaks. Maybe there is a better way.
I had to change a few default Paths in the constants.php to get the Game working:
// SYSTEM ROOT, IGNORING PUBLIC define('SYSTEM_ROOT', PROTOCOL . '/');
// GAME URL define('GAMEURL', PROTOCOL . $_SERVER['HTTP_HOST'] . '/');
// ADMIN PATHS define('ADM_URL', PROTOCOL . '/');
define('PUBLIC_PATH', '' . DIRECTORY_SEPARATOR);
-->
https://github.com/XGProyect/XG-Proyect-v3.x.x/blob/d1d9dc7ed498c4417f41b955871d4b67e0bb39d7/app/Http/Controllers/Adm/UsersController.php#L884
opendir(XGP_ROOT . 'public'. DEFAULT_SKINPATH . 'planets');