X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=lib%2FSklad_Auth.class%2Fcommon.php;fp=lib%2FSklad_Auth.class%2Fcommon.php;h=eff35d289ef4b694bd5845943587129cbfaf3d9b;hb=63747dad1820d275e25472ae8ae3d612cddf9aef;hp=0000000000000000000000000000000000000000;hpb=7b5547db1d9f2d5f0feda2bd066b3c61c3c8e6a1;p=mirrors%2FSokoMan.git diff --git a/lib/Sklad_Auth.class/common.php b/lib/Sklad_Auth.class/common.php new file mode 100755 index 0000000..eff35d2 --- /dev/null +++ b/lib/Sklad_Auth.class/common.php @@ -0,0 +1,34 @@ +. +*/ + +/** +* Trida implementuje podpurne funkce spolecne pro vsechny implementace tridy Sklad_Auth +* +* @package Sklad_Auth_common +* @author Tomas Mudrunka +*/ +class Sklad_Auth_common { + function get_authorized_user_id($die=true) { + if(isset($this->authorized_user_id)) return $this->authorized_user_id; + if($die) die('No user authorized!!!'); + return false; + } +} + +require_once(BACKEND_AUTH.'.php');