Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git] / examples / state / get-state.php
index 320cd9e..840bfe7 100644 (file)
@@ -1,10 +1,10 @@
-<?php\r
-session_start();\r
-if(!isset($_SESSION['state'])){\r
-    $_SESSION['state'] = array(\r
-        'sessionId'=>session_id()\r
-    );\r
-}\r
-echo 'Ext.appState = ';\r
-echo json_encode($_SESSION['state']);\r
-echo ';';\r
+<?php
+session_start();
+if(!isset($_SESSION['state'])){
+    $_SESSION['state'] = array(
+        'sessionId'=>session_id()
+    );
+}
+echo 'Ext.appState = ';
+echo json_encode($_SESSION['state']);
+echo ';';