Added notice about the directory name not being correct
This commit is contained in:
parent
9b5e892ee4
commit
5b0a312a9b
|
@ -1,3 +1,6 @@
|
||||||
<?php
|
<?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