part of
http://bugs.splitbrain.org/?do=details&id=1014
CamelCase for filenames by option possible.
\inc\HTTPClient.php
function _parseHeaders($string){
$headers = array();
$lines = explode("\n",$string);
foreach($lines as $line){
list($key,$val) = explode(':',$line,2);
// +++ $key = strtolower(trim($key));
// +++ CamelCase
if($conf['activcamelcasefile']){ // +++
$key = trim($key); //+++
}else{ // +++
$key = strtolower(trim($key)); //+++
} // +++
.....
\inc\pageutils.php
function cleanID($raw_id,$ascii=false){
global $conf;
global $lang;
static $sepcharpat = null;
global $cache_cleanid;
$cache = & $cache_cleanid;
// check if it's already in the memory cache
if (isset($cache[$raw_id])) {
return $cache[$raw_id];
}
$sepchar = $conf['sepchar'];
if($sepcharpat == null) // build string only once to save clock cycles
$sepcharpat = '#\'.$sepchar.'+#';
$id = trim($raw_id);
// +++ $id = utf8_strtolower($id);
// +++ CamelCase
if($conf['activcamelcasefile']){ // +++
}else{ // +++
$id = utf8_strtolower($id); // +++
} // +++
.....