Skip to content
Marek Skiba edited this page Dec 27, 2016 · 5 revisions

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

Clone this wiki locally