Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Admin Planet Edit #566

Open
Bigtieger opened this issue Aug 3, 2023 · 0 comments
Open

Issue with Admin Planet Edit #566

Bigtieger opened this issue Aug 3, 2023 · 0 comments

Comments

@Bigtieger
Copy link

Bigtieger commented Aug 3, 2023

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);

-->

$images_dir = opendir(XGP_ROOT . DEFAULT_SKINPATH . 'planets');

opendir(XGP_ROOT . 'public'. DEFAULT_SKINPATH . 'planets');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant