Attempt at fix for response headers too big on some servers,

This commit is contained in:
xevidos 2019-02-13 12:08:51 -05:00
parent 2307466e7b
commit b4f42db8fa
3 changed files with 4 additions and 17 deletions

View File

@ -32,8 +32,7 @@ class Common {
//////////////////////////////////////////////////////////////////
public static function construct() {
global $cookie_lifetime;
$path = str_replace( "index.php", "", $_SERVER['SCRIPT_FILENAME'] );
foreach ( array( "components", "plugins" ) as $folder ) {
@ -295,12 +294,6 @@ class Common {
public static function start_session() {
Common::construct();
global $cookie_lifetime;
if( isset( $cookie_lifetime ) && $cookie_lifetime != "" ) {
ini_set( "session.cookie_lifetime", $cookie_lifetime );
}
//Set a Session Name
session_name( md5( BASE_PATH ) );
@ -355,12 +348,6 @@ class Common {
public static function startSession() {
Common::construct();
global $cookie_lifetime;
if( isset( $cookie_lifetime ) && $cookie_lifetime != "" ) {
ini_set( "session.cookie_lifetime", $cookie_lifetime );
}
//Set a Session Name
session_name( md5( BASE_PATH ) );

View File

@ -69,7 +69,7 @@
if( option != codiad.filemanager.auto_reload ) {
//codiad.auto_save.reload_interval();
window.location.reload();
window.location.reload( true );
}
});
@ -509,7 +509,7 @@
codiad.editor.getActive().removeEventListener( "change", _this.refreshPreview );
return;
}
_this.preview.location.reload();
_this.preview.location.reload( true );
} catch( e ) {
console.log( e );

View File

@ -151,7 +151,7 @@ class Settings {
}
if( ! empty( $return ) ) {
$return = $return["value"];
} else {