glFusion Directory Reorganization

glFusion v1.1.0 brings quite a bit of housekeeping in the distribution. We have moved all of the source files that should not be called directly (include files, libraries, etc.) out of the public_html/ space and put them in their proper spot in the private/ space. This brings enhanced security by reducing the attack vector for hackers, and also provides a much more logical organization of the files.

To assist with the necessary cleanup of moving all these files around, we've included a new utility in glFusion called FileCheck. FileCheck will scan your private/ and public_html/ files and show you a list of files that are not part of the glFusion v1.1.0 distribution. A couple of very important points to understand about FileCheck:

  • FileCheck only looks at directories that were in the glFusion v1.1.0+ releases, any other directories you've created or directories used by plugins you have added are not checked.
  • FileCheck reports files that are not in the glFusion distribution. This does not mean all files it reports should be blindly deleted! For example, if you use Google Analytics, you probably have a file similar to google28d6ac74edfaa.html in your public_html/ folder. You need that file and should not delete it, but FileCheck will list it as a file that was not included in the glFusion archive.

To run FileCheck, type http://yoursite/admin/filecheck.php into your browser and after little directory scanning, FileCheck will present you with a list of files it does not recognize. You can select the checkbox to the right of each file to have FileCheck delete the file for you. AGAIN, use caution and only delete files you know you no longer need!

To help you identify what files should be removed, below is a list of items that have been moved in the latest release of glFusion:

Directory Reorganization

PathDescription
public_html/captcha/class/ This directory is no longer needed. All files from this directory are now located in the private/plugins/captcha/class/ directory.
public_html/filemgmt/include/ This directory is no longer needed. All files from this directory are now located in the private/plugins/filemgmt/include/ directory.
public_html/forum/include/ This directory (and its sub-directories) are no longer needed. All files from this directory are now located in private/plugins/forum/include/ directory.
Note: The include/bbcode/ contents were moved to private/lib/bbcode/
The include/geshi/ contents were moved to private/lib/geshi/.
public_html/forum/js/ This directory is no longer needed. It contained the MooTools JavaScript files which are now part of the core glFusion distribution.
public_html/mediagallery/classes/ This directory is no longer needed. All the files from this directory are now located in the private/plugins/mediagallery/include/ directory.
public_html/mediagallery/getid3/ This directory is no longer needed. All the files from this directory are now located in the private/lib/getid3/ directory.
public_html/mediagallery/maint/ This directory is no longer needed. All the files from this directory are now located in the private/plugins/mediagallery/include/ directory.
public_html/mediagallery/makers/ This directory is no longer needed. All the files from this directory are now located in the private/plugins/mediagallery/include/makers/ directory.
public_html/mediagallery/ Several files from the public_html/mediagallery/ directory have been moved to the private/plugins/mediagallery/include/ directory:
- classAlbum.php
- classFrame.php
- classMedia.php
- exif.php
- JPEG.php
- lib-batch.php
- lib-exif.php
- lib-media.php
- lib-rating.php
- lib-upload.php
- lib-watermark.php
- mgindex.php
glfusion/filecheck.txt · Last modified: 2010/02/02 02:12 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3