mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 17:05:38 +02:00
Added notice about the directory name not being correct
This commit is contained in:
parent
9b5e892ee4
commit
5b0a312a9b
@ -1,3 +1,6 @@
|
||||
<?php
|
||||
|
||||
$dir=basename(dirname(__FILE__));
|
||||
if($dir!='SortableGridField') {
|
||||
user_error('SortableGridField: Directory name must be "SortableGridField" (currently "'.$dir.'")',E_USER_ERROR);
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue
Block a user