A Micro Micro CMS

File load order

/inc/ (example public page: 'mypage')

mypage.php (creates object) loads:
    html.php (class for object, $pageID = 'mypage') loads:
        error-reporting.php loads:
            settings.php
            functions.php
        pages/mypage.txt output in content.php
    lang.php loads:
        languages/en.php
    top.php loads:
        ppp.php if password-protected
        stylesheets.php loads:
            css/common-g.css
            css/stylesheet.css
            css/mobile.css
            css/extra.css
        extra-head.php
    extra-body.php
    menu.php loads:
        inmenu.txt
    login-form.php if password-protected
    content.php loads:
        extra-content.php loads:
            js/slides.js
            extras/index.php if extras
            extras/mypage.txt if extras
            comments/index.php if comments
            comments/mypage.txt if comments
            form.php if commenting open
            stopwords.txt if commenting open
    footer.php
    tracking.php
    404.php if pages/mypage.txt not found
    end of html.php

Information »

Page last modified: 04 December, 2020