|
PieFileStructureFile StructureUnlike former versions, Pie now no longer uses hard-coded names to refer to its working directories and files, but offers freely configurable locations instead. This way, you could, for instance, use the same software library for multiple installations of Pie. You could also move some of the more sensitive files, such as the one that holds the user passwords, out of the web server's document root. What follows is a description the default configuration of Pie's files (residing below the document root). You will find this file structure in itself looking strangely similar to the File Hierarchy Standard, the only reason for this being personal preference that grew over the years. All variables given along with the respective location apply to the global configuration array $GLOBALS['yap'][<variable>] Software LibraryPie's software library, that is, its collection of scripts and functions that do the actual work while handling user requests, resides in Pie is controlled and interacted with by a single PHP-script, Local CustomizationApart from As quite so often, your site's overall graphical appearance is customized via CSS. Unlike all other Pie components, your site's CSS-directory must reside somewhere below the web server's document root, of course. Otherwise, the readers' HTTP-requests won't be able to retrieve its contents. You typically import CSS directives through one of your header files in
Working DirectoriesPie depends on various working directories to function, all of them being directories for whom your web server process requires exclusive read/write permission.
Note that, unless specified with a leading slash, all file names are relative to the directory of Pie's multiplexer file ( Run-time Library Files
[ Seite drucken ]
[
nach oben ]
|
Zuletzt bearbeitet am 2005-07-21 05:28 von .
Ausgegeben in 0.0156 sec |