Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Commit

Permalink
Check constant already exist, issue #9
Browse files Browse the repository at this point in the history
  • Loading branch information
emulienfou committed Sep 9, 2016
1 parent 6127c10 commit d75dd04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Dwoo/Core.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php

define('DWOO_DIRECTORY', dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR);

if (!defined('DWOO_DIRECTORY')) {
define('DWOO_DIRECTORY', dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR);
}
/**
* main dwoo class, allows communication between the compiler, template and data classes
*
Expand Down

0 comments on commit d75dd04

Please sign in to comment.