Skip to content

Commit

Permalink
Update controller.sublime-snippet
Browse files Browse the repository at this point in the history
CodeIgniter 3.x pattern.
  • Loading branch information
RECOHA committed Apr 8, 2015
1 parent b191905 commit 25da4cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controller.sublime-snippet
@@ -1,6 +1,7 @@
<snippet>
<content><![CDATA[
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class ${1:${TM_FILENAME/(.+)\..+|.*/\u$1/:Controllername}} extends ${2:CI}_Controller {
Expand Down

0 comments on commit 25da4cc

Please sign in to comment.