Changeset 76 for trunk/www/Application/Include.php
- Timestamp:
- Aug 24, 2009, 8:53:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/Include.php
r75 r76 1 1 <?php 2 2 3 include( 'Application/CustomTypes.php');3 include(dirname(__FILE__).'/CustomTypes.php'); 4 4 5 if(file_exists( 'Application/Config/Config.php')) include('Application/Config/Config.php');6 else die('Nenalezen soubor Application/Config/Config.php. Vytvořte jej kopií ze souboru Application/Config/ConfigSample.php.');5 if(file_exists(dirname(__FILE__).'/Config/Config.php')) include(dirname(__FILE__).'/Config/Config.php'); 6 else die('Nenalezen soubor '.dirname(__FILE__).'/Config/Config.php. Vytvořte jej kopií ze souboru '.dirname(__FILE__).'/Config/ConfigSample.php.'); 7 7 8 if(file_exists( 'Application/Localization/'.$Config['Web']['Locale'].'.php')9 include( 'Application/Localization/'.$Config['Web']['Locale'].'.php');10 else die('Nenalezen soubor Application/Localization/'.$Config['Web']['Locale'].'.php. Buď máte špatně nastaven jazyk nebo vám chybí jazykový soubor.');8 if(file_exists(dirname(__FILE__).'/Localization/'.$Config['Web']['Locale'].'.php')) 9 include(dirname(__FILE__).'/Localization/'.$Config['Web']['Locale'].'.php'); 10 else die('Nenalezen soubor '.dirname(__FILE__).'/Localization/'.$Config['Web']['Locale'].'.php. Buď máte špatně nastaven jazyk nebo vám chybí jazykový soubor.'); 11 11 12 include( 'Application/Model/Include.php');13 include( 'Application/View/Include.php');14 include( 'Application/Controller/Include.php');12 include(dirname(__FILE__).'/Model/Include.php'); 13 include(dirname(__FILE__).'/View/Include.php'); 14 include(dirname(__FILE__).'/Controller/Include.php'); 15 15 16 16 ?>
Note:
See TracChangeset
for help on using the changeset viewer.