Initial Commit of AgileBill Open Source
This commit is contained in:
9
modules/session_auth_cache/session_auth_cache.inc.php
Normal file
9
modules/session_auth_cache/session_auth_cache.inc.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
class session_auth_cache
|
||||
{
|
||||
function session_auth_cache()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
?>
|
54
modules/session_auth_cache/session_auth_cache_construct.xml
Normal file
54
modules/session_auth_cache/session_auth_cache_construct.xml
Normal file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<construct>
|
||||
<!-- define the module name -->
|
||||
<module>session_auth_cache</module>
|
||||
<!-- define the module table name -->
|
||||
<table>session_auth_cache</table>
|
||||
<!-- define the module dependancy(s) -->
|
||||
<dependancy/>
|
||||
<!-- define the DB cache in seconds -->
|
||||
<cache>0</cache>
|
||||
<!-- define the default order_by field for SQL queries -->
|
||||
<order_by>date_last</order_by>
|
||||
<!-- define the methods -->
|
||||
<limit>25</limit>
|
||||
<!-- define database indexes -->
|
||||
<index>
|
||||
<session_id>session_id</session_id>
|
||||
<expire>date_expire</expire>
|
||||
</index>
|
||||
<!-- define the fields -->
|
||||
<field>
|
||||
<id>
|
||||
<type>I8</type>
|
||||
<unique>1</unique>
|
||||
<index>1</index>
|
||||
</id>
|
||||
<site_id>
|
||||
<type>I8</type>
|
||||
<index>1</index>
|
||||
</site_id>
|
||||
<session_id>
|
||||
<type>C(32)</type>
|
||||
</session_id>
|
||||
<date_expire>
|
||||
<type>I8</type>
|
||||
</date_expire>
|
||||
<group_arr>
|
||||
<type>X2</type>
|
||||
</group_arr>
|
||||
<menu_arr>
|
||||
<type>X2</type>
|
||||
</menu_arr>
|
||||
<module_arr>
|
||||
<type>X2</type>
|
||||
</module_arr>
|
||||
<method_arr>
|
||||
<type>X2</type>
|
||||
</method_arr>
|
||||
</field>
|
||||
<!-- define all the methods for this class, and the fields they have access to, if applicable. -->
|
||||
<method/>
|
||||
<!-- define the method triggers -->
|
||||
<trigger>0</trigger>
|
||||
</construct>
|
11
modules/session_auth_cache/session_auth_cache_install.xml
Normal file
11
modules/session_auth_cache/session_auth_cache_install.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<install>
|
||||
<module_properties>
|
||||
<name>session_auth_cache</name>
|
||||
<parent>session_auth_cache</parent>
|
||||
<notes><![CDATA[Cache the user authentication]]></notes>
|
||||
</module_properties>
|
||||
<sql_inserts>
|
||||
<module_method>
|
||||
</module_method>
|
||||
</sql_inserts>
|
||||
</install>
|
Reference in New Issue
Block a user