[ Index ]
 

Code source de DokuWiki 2006-11-06

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/inc/ -> init.php (sommaire)

(pas de description)

Poids: 377 lignes (11 kb)
Inclus ou requis: 13 fois
Référencé: 0 fois
Nécessite: 1 fichier
 inc/lang/en/lang.php

Définit 9 fonctions

  delta_time()
  init_paths()
  init_files()
  init_path()
  init_creationmodes()
  remove_magic_quotes()
  getBaseURL()
  scriptify()
  nice_die()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

delta_time($start=0)   X-Ref
Initialize some defaults needed for DokuWiki


init_paths()   X-Ref
Pas de description

init_files()   X-Ref
Checks the existance of certain files and creates them if missing.


init_path($path)   X-Ref
Returns absolute path

This tries the given path first, then checks in DOKU_INC.
Check for accessability on directories as well.

author: Andreas Gohr <andi@splitbrain.org>

init_creationmodes()   X-Ref
Sets the internal config values fperm and dperm which, when set,
will be used to change the permission of a newly created dir or
file with chmod. Considers the influence of the system's umask
setting the values only if needed.


remove_magic_quotes(&$array)   X-Ref
remove magic quotes recursivly

author: Andreas Gohr <andi@splitbrain.org>

getBaseURL($abs=false)   X-Ref
Returns the full absolute URL to the directory where
DokuWiki is installed in (includes a trailing slash)

author: Andreas Gohr <andi@splitbrain.org>

scriptify($file)   X-Ref
Append a PHP extension to a given file and adds an exit call

This is used to migrate some old configfiles. An added PHP extension
ensures the contents are not shown to webusers even if .htaccess files
do not work

author: Jan Decaluwe <jan@jandecaluwe.com>

nice_die($msg)   X-Ref
print a nice message even if no styles are loaded yet.




Généré le : Tue Apr 3 20:47:31 2007 par Balluche grâce à PHPXref 0.7