Changeset 57 for trunk/www/include.php


Ignore:
Timestamp:
Aug 4, 2009, 5:32:06 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Dále posunuta funkčnost podpory více světů na server.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/include.php

    r55 r57  
    11<?php
     2
     3// Change current directory to script location
     4$BaseDir = substr($_SERVER['SCRIPT_FILENAME'], 0, strrpos($_SERVER['SCRIPT_FILENAME'], '/'));
     5if($BaseDir != '') chdir($BaseDir);
    26
    37include('config.php');
     
    2529include('model/platform.php');
    2630include('model/history.php');
     31include('model/shell.php');
    2732
    2833include('view/user.php');
     
    3944include('view/debug.php');
    4045
     46include('init.php');
     47
    4148?>
Note: See TracChangeset for help on using the changeset viewer.