Pfade $pth

$pth ist ein zweidimensionales Array, das die relativen Pfade zu Systemdateien und Ordnern enthält. Die erste Dimension enthält die Schlüssel 'file' und 'folder'.

System

Folgende Pfade sind im gesamten System verfügbar:

$pth['folder']['base']
    $pth['folder']['cmsimple']
        $pth['folder']['language']
            $pth['file']['language']
        $pth['folder']['langconfig']
            $pth['file']['langconfig']
        $pth['file']['adm']
        $pth['file']['cms']
        $pth['file']['config']
        $pth['file']['log']
        $pth['file']['login']
        $pth['file']['mailform']
        $pth['file']['search']
    $pth['file']['corestyle']
    $pth['folder']['content']
        $pth['file']['content']
        $pth['file']['pagedata']
    $pth['folder']['downloads']
    $pth['folder']['images']
        $pth['folder']['flags']
    $pth['folder']['userfiles']
    $pth['folder']['media']
    $pth['folder']['plugins']
    $pth['folder']['templates']
        $pth['folder']['template']
            $pth['folder']['menubuttons']
            $pth['folder']['templateimages']
            $pth['file']['template']
            $pth['file']['stylesheet']

Plugins

Ist ein Plugin geladen, werden die folgenden Pfade gesetzt, damit sie global in der index.php und in der admin.php des Plugins verfügbar sind:

$pth['folder']['plugin']
    $pth['file']['plugin_index']
    $pth['file']['plugin_admin']
    $pth['folder']['plugin_classes']
        $pth['file']['plugin_classes']
    $pth['folder']['plugin_config']
        $pth['file']['plugin_config']
    $pth['folder']['plugin_content']
    $pth['folder']['plugin_css']
        $pth['file']['plugin_stylesheet']
    $pth['folder']['plugin_help']
        $pth['file']['plugin_help']
    $pth['folder']['plugin_includes']
    $pth['folder']['plugin_languages']
        $pth['file']['plugin_language']