diff --git a/include/class_config.inc b/include/class_config.inc
index e05b5e95cd5e7eed7527fd6d3d6259ee15a7cd77..52c6c4f1ebecdcb576b77f4f7685056f2ac43924 100755
--- a/include/class_config.inc
+++ b/include/class_config.inc
@@ -83,6 +83,10 @@ class config
     }
   }
 
+  /**
+   * Note: Magic method allowing to declare what needs to be serialized - E.g required for session_regenerate_id().
+   * @return array
+   */
   public function __serialize (): array
   {
     return [
@@ -96,6 +100,11 @@ class config
     ];
   }
 
+  /**
+   * @param array $data
+   * @return void
+   * Note : Magic method allowing to regenerate required data set in $_SESSION during restoration.
+   */
   public function __unserialize(array $data): void
   {
     $this->config_found = $data['config_found'];
diff --git a/include/php_setup.inc b/include/php_setup.inc
index 5091ecb53577499a37ef5fed083df53c9ae0b540..dfe4c432c5c2c19c51572f08b9af64059a5514c6 100755
--- a/include/php_setup.inc
+++ b/include/php_setup.inc
@@ -335,9 +335,6 @@ $smarty->registerPlugin('modifier', 'base64_encode', 'base64_encode');
 # It should not require registration as it is put in the plugins folder of smarty
 #$smarty->registerPlugin('function', 'filePath', 'smarty_function_filePath');
 
-# Deactivate php process within smarty template
-$smarty->allow_php = false;
-
 /* Check for SSL connection */
 $ssl = '';
 if (!URL::sslOn()) {