From: Andrey Kutejko Date: Sat, 22 Jun 2013 13:10:56 +0000 (+0300) Subject: cleanup X-Git-Tag: 0.5~217 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=1af1c4ba5a305e976bc2ca87f7731c2554b35520;p=ipf.git cleanup --- diff --git a/ipf/admin/views.php b/ipf/admin/views.php index e206c6e..15f1f50 100644 --- a/ipf/admin/views.php +++ b/ipf/admin/views.php @@ -1,6 +1,7 @@ name = str_replace('_App', '', get_class($this)); if (strpos($this->name,'IPF_')===0) - $this->path = IPF::get('ipf_path').DIRECTORY_SEPARATOR.'ipf'.DIRECTORY_SEPARATOR.strtolower(str_replace('_',DIRECTORY_SEPARATOR,str_replace('IPF_','',$this->name))); + $this->path = IPF::get('ipf_path').DIRECTORY_SEPARATOR.strtolower(str_replace('_',DIRECTORY_SEPARATOR,$this->name)); else $this->path = IPF::get('project_path').DIRECTORY_SEPARATOR.strtolower(str_replace('_',DIRECTORY_SEPARATOR,$this->name)); $this->path .= DIRECTORY_SEPARATOR; diff --git a/ipf/enum.php b/ipf/enum.php deleted file mode 100644 index 2c3f63b..0000000 --- a/ipf/enum.php +++ /dev/null @@ -1,38 +0,0 @@ -current_val = constant( "{$class_name}::{$type}" ); - } - - final public function __toString() { - return $this->current_val; - } -}