View Single Post
  #5  
Old 6th October 2008, 13:39
kidalabama kidalabama is offline
Junior Member
 
Join Date: Aug 2008
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
Default

i edited config.lib.php
if($web["web_php_safe_mode"]){
$php .= "\nphp_admin_flag safe_mode On
php_admin_value open_basedir ".$mod->system->server_conf["server_path_httpd_root"]."/"."web".$web["doc_id"]."/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir ".$mod->system->server_conf["server_path_httpd_root"]."/"."web".$web["doc_id"]."/phptmp/
php_admin_value session.save_path ".$mod->system->server_conf["server_path_httpd_root"]."/"."web".$web["doc_id"]."/phptmp/";
} else {
$php .= "\nphp_admin_flag safe_mode Off
php_admin_value open_basedir ".$mod->system->server_conf["server_path_httpd_root"]."/"."web".$web["doc_id"]."";
}
}
} else {
$php = "\nphp_admin_value open_basedir ".$mod->system->server_conf["server_path_httpd_root"]."/"."web".$web["doc_id"]."";
}

i added two times php_admin_value open_basedir ".$mod->system->server_conf["server_path_httpd_root"]."/"."web".$web["doc_id"]."

but all domains added php_admin_value open_basedir.
i dont want one domain add this code. how can i do this ?
i want all domains added except only one domain. but my code added all domains.

Last edited by kidalabama; 6th October 2008 at 13:45.
Reply With Quote