Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/importoldindex/action.php on line 8

Strict Standards: Declaration of action_plugin_popularity::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/popularity/action.php on line 57

Strict Standards: Declaration of action_plugin_safefnrecode::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/safefnrecode/action.php on line 66

Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/importoldchangelog/action.php on line 182

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/plugins/importoldindex/action.php:8) in /var/www/html/inc/actions.php on line 607

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/plugins/importoldindex/action.php:8) in /var/www/html/inc/actions.php on line 607
cor4:app:appconfig.inc.php

A konstansokat definiálni kell a define direktívával. Azok a konstansok, amelyek egy könyvtárat határoznak meg, azok mindig az aktuális könyvtárhoz (ahol az appconfig.inc.php van) viszonyítva relatívak (egy kivétel van, de ezt külön jelzem)

Példa

<?php
  define('DIR_OFV_ROOT', "/usr/share/pear/ofv/");
 
  define('DEBUG_MODE',"0");
  define('APP_TEMPORARY_DIR',"tmp/");
 
  define('DB_TYPE', "mysql");
  define('DB_HOST', "ivivan");
  define('DB_USER', "ivan");
  define('DB_PASS', "");
  define('DB_DEFAULT', "dms");
 
  // Ez a konstans adja meg, hogy hol kezdődik a sok eseménykezelő meg képernyő meg minden
  define('DIR_APPLICATION_ROOT',"./data/application/");
  define('DIR_IMAGES',"./data/images/");
  define('DIR_LANGPACK',"./data/langpack");
  define('DIR_SMARTY_TPL',"./data/templates");
  define('DIR_SMARTY_COM',"tmp/");
 
  define('HTML_THEME_DIR',"data/themes");
  define('HTML_DEFAULT_THEME',"onlineweb");
 
  define('APP_SCREEN_TEMPLATE',"lame.tpl");
  define('HTML_DEFAULT_TEMPLATE',"lame.tpl");
  define('APP_START_PROCESS',"login.process");
 
  define('LOG_DIR', "./log");
  define('LOG_LANG', "hu");
  define('LOG_STR', "[%user%]-[%date%]-[%msg%]");
  define('APP_VERSION', "1.0");
 
  adddatasource('userek',"ugyaz,ugyaz,nev,concat(irsz,' ',cim1,',',cim2),adosz",'ugyfel','','nev');
 
  define('CURRENT_LANG',"hu");
 
?>