probando conexion5
This commit is contained in:
Generated
+28
-34
@@ -2,7 +2,7 @@
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="a3c96782-c39e-4629-8661-f34ca5efc2af" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/js/main.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/main.js" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sitio/usuario/usuario.php" beforeDir="false" afterPath="$PROJECT_DIR$/sitio/usuario/usuario.php" afterDir="false" />
|
||||
</list>
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
@@ -21,7 +21,7 @@
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="true">
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/js/main.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="528">
|
||||
@@ -39,6 +39,15 @@
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/sitio/usuario/usuario.php">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="792">
|
||||
<caret line="36" column="53" selection-start-line="36" selection-start-column="53" selection-end-line="36" selection-end-column="53" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="FileTemplateManagerImpl">
|
||||
@@ -71,12 +80,12 @@
|
||||
<option value="$PROJECT_DIR$/SQL/conexion.php" />
|
||||
<option value="$PROJECT_DIR$/footer.php" />
|
||||
<option value="$PROJECT_DIR$/header.php" />
|
||||
<option value="$PROJECT_DIR$/sitio/usuario/usuario.php" />
|
||||
<option value="$PROJECT_DIR$/sitio/admin/admin.php" />
|
||||
<option value="$PROJECT_DIR$/conexion.php" />
|
||||
<option value="$PROJECT_DIR$/index.php" />
|
||||
<option value="$PROJECT_DIR$/login.php" />
|
||||
<option value="$PROJECT_DIR$/js/main.js" />
|
||||
<option value="$PROJECT_DIR$/sitio/usuario/usuario.php" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
@@ -114,6 +123,12 @@
|
||||
<item name="Inventario" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="sitio" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="Inventario" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="Inventario" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="sitio" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="usuario" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
</expand>
|
||||
<select />
|
||||
</subPane>
|
||||
@@ -165,38 +180,17 @@
|
||||
<workItem from="1547170217131" duration="2586000" />
|
||||
<workItem from="1547236861734" duration="11265000" />
|
||||
<workItem from="1547503840895" duration="2199000" />
|
||||
<workItem from="1547508488120" duration="6534000" />
|
||||
<workItem from="1547508488120" duration="6694000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="46780000" />
|
||||
<option name="totallyTimeSpent" value="46940000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="1358" y="-8" width="1296" height="1010" extended-state="6" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info id="Favorites" order="0" side_tool="true" />
|
||||
<window_info content_ui="combo" id="Project" order="1" weight="0.19902913" />
|
||||
<window_info id="Structure" order="2" side_tool="true" weight="0.25" />
|
||||
<window_info anchor="bottom" id="Terminal" order="0" weight="0.3295325" />
|
||||
<window_info anchor="bottom" id="Database Changes" order="1" />
|
||||
<window_info anchor="bottom" id="Event Log" order="2" side_tool="true" />
|
||||
<window_info anchor="bottom" id="Version Control" order="3" weight="0.3295325" />
|
||||
<window_info anchor="bottom" id="Docker" order="4" show_stripe_button="false" />
|
||||
<window_info anchor="bottom" id="Message" order="5" />
|
||||
<window_info anchor="bottom" id="Find" order="6" />
|
||||
<window_info anchor="bottom" id="Run" order="7" />
|
||||
<window_info anchor="bottom" id="Debug" order="8" weight="0.4" />
|
||||
<window_info anchor="bottom" id="Cvs" order="9" weight="0.25" />
|
||||
<window_info anchor="bottom" id="Inspection" order="10" weight="0.4" />
|
||||
<window_info anchor="bottom" id="TODO" order="11" />
|
||||
<window_info anchor="right" id="Database" order="0" />
|
||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="1" type="SLIDING" weight="0.4" />
|
||||
<window_info anchor="right" id="Ant Build" order="2" weight="0.25" />
|
||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="3" weight="0.25" />
|
||||
</layout>
|
||||
<layout-to-restore>
|
||||
<window_info id="Favorites" order="0" side_tool="true" />
|
||||
<window_info active="true" content_ui="combo" id="Project" order="1" visible="true" weight="0.19902913" />
|
||||
<window_info id="Structure" order="2" side_tool="true" weight="0.25" />
|
||||
@@ -216,7 +210,7 @@
|
||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="1" type="SLIDING" weight="0.4" />
|
||||
<window_info anchor="right" id="Ant Build" order="2" weight="0.25" />
|
||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="3" weight="0.25" />
|
||||
</layout-to-restore>
|
||||
</layout>
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="1" />
|
||||
@@ -264,13 +258,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/sitio/usuario/usuario.php">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="286">
|
||||
<caret line="13" selection-start-line="13" selection-end-line="86" selection-end-column="7" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/sitio/admin/admin.php">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="1804">
|
||||
@@ -306,5 +293,12 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/sitio/usuario/usuario.php">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="792">
|
||||
<caret line="36" column="53" selection-start-line="36" selection-start-column="53" selection-end-line="36" selection-end-column="53" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
session_start();
|
||||
if (isset($_SESSION['usuario'])){
|
||||
if ($_SESSION['usuario']['tipo'] != "usuario"){
|
||||
if ($_SESSION['usuario']['perfil'] != "Area"){
|
||||
header('Location: ../admin/');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user