Skip to content

Instantly share code, notes, and snippets.

@asanchez75
Created November 2, 2012 23:44
Show Gist options
  • Save asanchez75/4005058 to your computer and use it in GitHub Desktop.
Save asanchez75/4005058 to your computer and use it in GitHub Desktop.
some notes on API for ActionApps
Sessions
include/locsess.php3 --> Line 346 --> require_once(AA_INC_PATH . ($encap ? "extsessi.php3" : "extsess.php3"));
include/locauth.php3
include/extsess.php3 (* se usa cuando encap = FALSE, encap =TRUE se usa cuando en el SHTML se incluye php)
aqui se elige entre AA_CP_Session ó AA_SL_Session, si $encap = TRUE se usa AA_SL_Session, sino por defecto es AA_CP_Session
include/extsessi.php3
Users
include/perm_sql.php3 --> sql users
include/perm_core.php3 --> base
New class for login
* This file could be used inside AA as well as outside of the AA.
* You can just copy the file to your website and use it for client
* authentization. The example of the "client authentization" you can find
* in apc-aa/doc/script/example_auth directory.
include/request.class.php3
================================
Line 770 en include/item.php3 poner
date_default_timezone_set('America/Lima');
para evitar este error
<<Warning: date_default_timezone_set() expects exactly 1 parameter>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment