Jump to content
TNG Community
Sign in to follow this  
Roelj

Admin-files

Recommended Posts

Roelj

Just a question. Is there a special reason for the fact that there is a admin-folder, which is empty, and all the admin*-files are in the root-directionary?

Could i move them to the admin-folder?

Share this post


Link to post
Share on other sites
XerxX

No, you can't move the files there.

I don't know why the folder exists, as it seems to be un-necessary.

But maybe I know the reason why all files are in the root:

When I developed the "Forum for TNG" mod I tried to put all files in a separate "Forum" folder.

Some people who tested it for me, used a TNG sub-folder to accomodate their test-TNG. For some un-known reason we could never make the mod/Forum work properly. The system couldn't find the scripts, no matter what we used for $cms['tngpath'] (If I remember correctly).

As the test-sites worked perfectly in a sub-folder, and there is no restriction in TNG, I had to move all "working scripts" out of the folder. Then it worked.

Maybe something of that sort is the reason why the admin-folder is empty?

/Erik

Share this post


Link to post
Share on other sites
Ken Roy
44 minutes ago, Roelj said:

Just a question. Is there a special reason for the fact that there is a admin-folder, which is empty, and all the admin*-files are in the root-directionary?

Could i move them to the admin-folder?

The admin folder in a very old version of TNG used to contain the admin files, but now the Admin scripts of TNG shares functions with the public version scripts so all the TNG code needs to be in the TNG root folder.

Share this post


Link to post
Share on other sites
Newfloridian

The admin folder is rather like your umbilicus (belly button) - a scar to remind you of a previous existence. admin files were present in the admin folder in the early days (certainly in TNG6) and were moved into root - perhaps with the upgrade to TNG7.  Caused some discussion and controversy then. Why the folder wasn't removed I don't know.

 

Alan

Share this post


Link to post
Share on other sites
Newfloridian

I  have an old archive backup of my system using TNG7.0.3 (the version dated January 14th 2009) which does contain all the admin files in the admin folder.

Alan

Share this post


Link to post
Share on other sites
Ken Roy

If I remember correctly, the admin files moved to the root folder when Darrin started sharing database functions between the public and admin scripts.

Share this post


Link to post
Share on other sites
Roelj

Thanks to all foir the answers.

But in this case it is perhaps better to remove the admin-folder out of the TNG-installation.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×