Back to Littlefoot Manual

The index.php is included for client-side requests. But some aspects of apps such as their management interface would ideally not be accessible to the client. Instead we use a separate file at 'lf/apps/myfirstapp/admin.php'. Create this file and add the following content:

Hello Admin

To view this new file, log into the Littlefoot backend at '' (defualt user: "admin" pass: "pass"). You should see "myfirstapp" on the left navigation under Dashboard. All apps that have an admin.php are displayed here. Click any app to manage it. If you click 'myfirstapp', you should see "Hello Admin" displayed.

From this and the Hello World example, you can see where each index.php and admin.php file is processed and displayed. Now that you understand front-end vs back-end, lets do some PHP

blog comments powered by Disqus