FORUM IS CLOSED. PLEASE USE QUESTIONS / ANSWERS PAGE INSTEAD
Login  |  Forum  |  Search   

Board index » Development » Help requests




Post new topic Reply to topic  [ 2 posts ] 
 
Author Message
 Post subject: Administratoriaus duomenų išgavimas
 Post Posted: Wed Jul 04, 2012 10:47 am 
Offline

Joined: Wed May 16, 2012 5:55 pm
Posts: 33
Sveiki,
ar įmanoma gauti administratoriaus duomenis, pavyzdžiui, items_area.php faile?


Top 
 Profile  
 
 Post subject: Re: Administratoriaus duomenų išgavimas
 Post Posted: Wed Jul 04, 2012 6:54 pm 
Offline
Project Developer

Joined: Tue Apr 28, 2009 9:43 am
Posts: 1720
Čia kalbam apie PHP kodą kuriam nors admino tab'e? Tada su šiuo kodu galima gauti admin'o ID:

Code:
        global $cms;
        echo $cms->session->userId();


Tada galima susiincludinti ip_cms/backend/db.php failą ir sužinoti kokius modulius šitas useris gali naudoti. Tik šitas metodas labai senas ir gali keistis.


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 2 posts ] 

Board index » Development » Help requests


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: