File_template

Michal Čihař edited this page May 16, 2016 · 4 revisions
Clone this wiki locally

Each code file (.php, .js) should have this heading :

/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Brief explanation about this file * * @package PhpMyAdmin */

Followed by this in case of an include or library .php file (not for files in the root dir that are directly accessed by the browser, or for .js files) :

if (! defined('PHPMYADMIN')) { exit; }

F