XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Espaces de nommage | |
installer | |
Fonctions | |
writeConfigurationFile ($vars, $path, $sourceName, $fileName) | |
getStats ($filename) | |
getTmpStats () | |
prepStats ($stat) | |
checkFileWriteablity ($files) | |
Variables | |
$pageHasForm = false | |
$pageHasHelp = false | |
$vars =& $_SESSION['settings'] | |
if(empty($vars['ROOT_PATH'])) elseif(empty($vars['DB_HOST'])) | $writeFiles |
$writeCheck = checkFileWriteablity($writeFiles) | |
if(true===$writeCheck) | else |
foreach ( $writeCheck as $errorMsg) | |
checkFileWriteablity | ( | $files | ) |
Attempt to check if a set of files can be written
string[] | $files | fully qualified file names to check |
getStats | ( | $filename | ) |
Get file stats
string | $filename | file or directory name |
getTmpStats | ( | ) |
Get file stats on a created temp file
prepStats | ( | $stat | ) |
Get stat() info in a more usable form
array | $stat | return from PHP stat() |
writeConfigurationFile | ( | $vars, | |
$path, | |||
$sourceName, | |||
$fileName | |||
) |
Copy a configuration file from template, then rewrite with actual configuration values
string[] | $vars | config values |
string | $path | directory path where files reside |
string | $sourceName | template file name |
string | $fileName | configuration file name |
$pageHasForm = false |
$pageHasHelp = false |
$vars =& $_SESSION['settings'] |
$writeCheck = checkFileWriteablity($writeFiles) |
foreach($writeCheck as $errorMsg) |