require(JIRAFEAU_ROOT . 'lib/functions.php');
require(JIRAFEAU_ROOT . 'lib/lang.php');
-/**
- * Prepend used functions
- **/
-
-function jirafeau_quoted($str)
-{
- return QUOTE . str_replace(QUOTE, "\'", $str) . QUOTE;
-}
-
function jirafeau_export_cfg($cfg)
{
$content = '<?php' . NL;
<td class = "field"><input type = "text" name = "web_root"
id = "input_web_root" value = "<?php
echo(empty($cfg['web_root']) ?
- $_SERVER['HTTP_HOST'] . str_replace(basename(__FILE__),
- '', $_SERVER['REQUEST_URI']) : $cfg['web_root']);
+ $_SERVER['HTTP_HOST'] . str_replace(
+ basename(__FILE__),
+ '',
+ $_SERVER['REQUEST_URI']
+ ) : $cfg['web_root']);
?>" size = "40" /></td>
</tr> <tr> <td class = "info" colspan = "2"><?php
echo t('DATA_DIR_EXPLAINATION');