File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 7171define ('CACHE_DIR ' , (!preg_match ('`^(/|[a-z]:[ \\\/])`ui ' , GRAV_CACHE_PATH ) ? GRAV_ROOT . '/ ' : '' ) . GRAV_CACHE_PATH . '/ ' );
7272
7373// DEPRECATED: Do not use!
74+ /**
75+ * @deprecated
76+ */
7477define ('CACHE_PATH ' , GRAV_CACHE_PATH . DS );
78+ /**
79+ * @deprecated
80+ */
7581define ('USER_PATH ' , GRAV_USER_PATH . DS );
82+ /**
83+ * @deprecated
84+ */
7685define ('ROOT_DIR ' , GRAV_ROOT . DS );
86+ /**
87+ * @deprecated
88+ */
7789define ('ASSETS_DIR ' , GRAV_WEBROOT . '/assets/ ' );
90+ /**
91+ * @deprecated
92+ */
7893define ('IMAGES_DIR ' , GRAV_WEBROOT . '/images/ ' );
94+ /**
95+ * @deprecated
96+ */
7997define ('ACCOUNTS_DIR ' , USER_DIR . 'accounts/ ' );
98+ /**
99+ * @deprecated
100+ */
80101define ('PAGES_DIR ' , USER_DIR . 'pages/ ' );
102+ /**
103+ * @deprecated
104+ */
81105define ('DATA_DIR ' , USER_DIR . 'data/ ' );
106+ /**
107+ * @deprecated
108+ */
82109define ('PLUGINS_DIR ' , USER_DIR . 'plugins/ ' );
110+ /**
111+ * @deprecated
112+ */
83113define ('THEMES_DIR ' , USER_DIR . 'themes/ ' );
114+ /**
115+ * @deprecated
116+ */
84117define ('SYSTEM_DIR ' , (!preg_match ('`^(/|[a-z]:[ \\\/])`ui ' , GRAV_SYSTEM_PATH ) ? GRAV_ROOT . '/ ' : '' ) . GRAV_SYSTEM_PATH . '/ ' );
118+ /**
119+ * @deprecated
120+ */
85121define ('LIB_DIR ' , SYSTEM_DIR . 'src/ ' );
122+ /**
123+ * @deprecated
124+ */
86125define ('VENDOR_DIR ' , GRAV_ROOT . '/vendor/ ' );
126+ /**
127+ * @deprecated
128+ */
87129define ('LOG_DIR ' , (!preg_match ('`^(/|[a-z]:[ \\\/])`ui ' , GRAV_LOG_PATH ) ? GRAV_ROOT . '/ ' : '' ) . GRAV_LOG_PATH . '/ ' );
88130// END DEPRECATED
89131
You can’t perform that action at this time.
0 commit comments