diff --git a/src/editor/EditorUtils.js b/src/editor/EditorUtils.js index 895c2d6c219..db0c2ce9b79 100644 --- a/src/editor/EditorUtils.js +++ b/src/editor/EditorUtils.js @@ -105,6 +105,7 @@ define(function (require, exports, module) { case "php5": case "phtm": case "phtml": + case "ctp": return "php"; case "cc": @@ -171,4 +172,4 @@ define(function (require, exports, module) { // Define public API exports.getModeFromFileExtension = getModeFromFileExtension; -}); \ No newline at end of file +});