Пример #1
0
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
use DreamFactory\Yii\Utility\Pii;
/**
 * @var $this WebController
 */
$this->pageTitle = Pii::appName();
?>
<div class="container-fluid scrollable">
    <?php 
if (!isset($_SESSION)) {
    session_start();
}
echo '<h2 class="inset">' . $this->pageTitle . ' Environment</h2>';
echo "Session Info: <br />";
echo 'Module: ' . session_module_name() . ' Name: ' . session_name() . ' Id: ' . session_id();
echo "<br /><br />";
echo 'API Version: ' . API_VERSION . "<br />";
echo 'DSP Version: ' . DSP_VERSION . "<br />";
echo 'SQL DB Data Source Name: ' . Yii::app()->db->connectionString . "<br />";
echo "<br /><br />";
?>